MySQL登录问题:error1045(28000)
1.服务器未启动:
systemctl restart mysql(重启服务器)
2.密码错误:
(1).跳过登录检测:
/etc/my.cnf配置文件中添加:
[mysqld]
skip-grant-tables
重启服务器:systemctl restart mysql
(2).修改密码
1.服务器未启动:
systemctl restart mysql(重启服务器)
2.密码错误:
(1).跳过登录检测:
/etc/my.cnf配置文件中添加:
[mysqld]
skip-grant-tables
重启服务器:systemctl restart mysql
(2).修改密码