强制关机,导致Mysql ERROR 1045 (28000)

修复方法:

ssh  account@domain.com

service mysqld stop

mysqld_safe –skip-grant-tables  (skip前面是两条小横杠)

service mysqld start

mysql -uroot -p