时间:2021-07-01 10:21:17 帮助过:27人阅读
ALTER USER ‘root‘@‘localhost‘ PASSWORD EXPIRE NEVER;
FLUSH PRIVILEGES;
这里主要执行下面三个命令(先登录数据库)
use mysql
update user set host = ‘%‘ where user = ‘root‘;
FLUSH PRIVILEGES;
ln -s /usr/local/mysql/bin/mysql /usr/bin
Linux安装MySQL5.7.17
标签:exp HERE x86_64 code 说明 arch 改密码 log nload