mysql启动linux
时间: 2023-08-21 11:03:15 浏览: 102
要在Linux上启动MySQL,有几种方法可以使用。其中一种方法是使用systemctl命令。你可以使用以下命令来启动、停止或重新启动MySQL服务:
1. 启动MySQL服务:systemctl start mysqld.service
2. 停止MySQL服务:systemctl stop mysqld.service
3. 重新启动MySQL服务:systemctl restart mysqld.service
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Linux MySQL启动命令](https://blog.csdn.net/Ying_ph/article/details/127257564)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Linux查看mysql是否启动+mysql启动(全)](https://blog.csdn.net/m0_67393827/article/details/126434412)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文