标签:连接 use error table ges 错误 bsp password col
set password for root@localhost = password(‘admin@123‘);
ln -s /usr/local/mysql/bin/mysql /usr/bin
update user set host=‘%‘ where user=‘root‘;
如果出现错误:ERROR 1175 (HY000): You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
则输入 SET SQL_SAFE_UPDATES = 0; 然后再次update
最后别忘了
flush privileges;
Centos7.3 mysql5.7 密码修改及远程登陆配置
标签:连接 use error table ges 错误 bsp password col
原文地址:https://www.cnblogs.com/xinyibufang/p/9026364.html