Error1: 2003:Can't connect to MySQL server on 'localhost' 解决方法:关闭Linux的防火墙功能。
#chkconfig iptables off
#reboot
mysql>grant all privileges on *.* to 'root'@'%' identified by 'rootpasswd' with grant option;
本文共 480 字,大约阅读时间需要 1 分钟。
#chkconfig iptables off
#reboot
mysql>grant all privileges on *.* to 'root'@'%' identified by 'rootpasswd' with grant option;
转载于:https://blog.51cto.com/tengq/1892803