長時間沒登錄mysql
# killall mysqld
# mysqld_safe
# mysql
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with
Database changed
mysql> update user set Password = PASSWORD(
Query OK
Rows matched:
mysql> quit
Bye
OK
注意
From:http://tw.wingwit.com/Article/program/MySQL/201311/29411.html