[[email protected] ~]#cd /opt/mysql/bin/
[[email protected] ~]#./mysql -uroot -p
[[email protected] ~]#(密码为空)回车
mysql> show databases
-> ;
mysql> select * from manager limit 1;
mysql> use extmail
mysql> select * from manager limit 1;
mysql> update manager set password = ‘BrT9qxfB$Ha81Mb5YVV6rNKNN5jmtj1’ where username = ‘[email protected]’;