将 本机数据同步至Ubuntu-server下的mysql,navicat一直显示无法连接
原因:mysql限制只能localhost连接
解决:vi /etc/mysql/my.cnf
找到文件中的bind-address 127.0.0.1将其注释掉
同时,使用root进入mysql,use mysql,
service mysql restart重启服务静候片刻。