linux下的mysql修改root密码
时间: 2023-08-21 10:05:37 浏览: 181
在Linux下,你可以通过以下步骤来修改MySQL的root密码:
1. 打开终端,使用root用户登录到Linux系统。
2. 使用以下命令来停止MySQL服务:<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Linux下修改mysql的root密码方法](https://blog.csdn.net/weixin_34367845/article/details/85101419)[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* [Linux更改Mysql root用户密码](https://blog.csdn.net/JYL1159131237/article/details/88378574)[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 ]
阅读全文