centos下如何做到如题,由于要做平衡数据库迁移,谢谢!
光阴似箭催人老,日月如移越少年。
update mysql.user set Host = '127.0.0.1' where User = 'root';This is the modification
mysql
user
If there are several IPs, copy this record and leave other fields unchanged, just change the host
update
mysql
.user
set Host = '127.0.0.1' where User = 'root';This is the modification
If there are several IPs, copy this record and leave other fields unchanged, just change the host