Toc
0 results found
Seven Chen
修改Mysql Root密码
2008/04/01 NULL

mysql密码丢失后,在mysql命令行下执行如下命令,即可将root用户密码清空:

  mysqld_safe –skip-grant-tables&

mysql修改密码

  mysql修改,可在mysql命令行执行如下:

  mysql -u root mysql
  mysql> UPDATE user SET password=PASSWORD(“new password”) WHERE user=’root’;
  mysql> FLUSH PRIVILEGES;
  mysql> QUIT

humen1 Tech

本文作者:Seven Chen
版权声明:本文首发于Seven Chen的博客,转载请注明出处!