[root@localhost ~]# cd /www/server/panel && python tools.py root 123456
Shutting down MySQL.... SUCCESS!
正在修改密码...
The set password...
200519 10:36:51 mysqld_safe Logging to '/www/server/data/localhost.localdomain.err'.
200519 10:36:51 mysqld_safe Starting mysqld daemon with databases from /www/server/data
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Starting MySQL.. SUCCESS!
===========================================
root密码成功修改为: 123456
The root password set 123456 successuful |