在备份mysql数据时:
[root@xxx]mysqldump -uxxx -pxxx -h192.168.1.222 -P3306 xxxxx > xxxxx.sql
提示:
mysqldump:Got error:1130:Host 'xxxxx' is not allowed to connect to this MySQL server when trying to connect
而用:
[root@xxx]mysqldump -uxxx -pxxx -h127.0.0.1 -P3306 xxxxx > xxxxx.sql 却一切正常第一次接解linux及mysql,遇到新手问题,请各位指教...