Blogger Information
Blog 39
fans 1
comment 0
visits 62354
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
linux 修改mysql密码
Dai的博客
Original
840 people have browsed it


方法一:

在mysql系统外,使用mysqladmin

 mysqladmin -u root -p password "test123"

Enter password: 【输入原来的密码】


方法二:

通过登录mysql系统,

mysql -uroot -p

Enter password: 【输入原来的密码】

mysql>use mysql;
mysql> update user set password=passworD("[youpassword]") where user='root';
mysql> flush privileges;
mysql> exit;


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post