时间:2021-07-01 10:21:17 帮助过:5人阅读
/etc/my.cnf
skip-grant-tables
under [mysqld]
mysql -u root -p
mysql> flush privileges;
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘NewPassword‘;
mysql -u root -p
新装mysql数据库登陆不上去(账号密码正确)
标签:grant ges 密码 man tar sql数据库 str use move