Possible solution to Error: 2003(HY000): Can’t connect to MySQL Server on….. error
Friday, December 5th, 2008This is one possiible solution to Error: 2003(HY000): Can’t connect to MySQL Server on ******* error
this error may not be caused by wrong mysqld installation or configuration, a possible cause is that your connection is blocked by a firewall.
here’s the fix for linux systems.
on the mysql server machine, go to your shell as root and type
#/etc/init.d/iptables stop
this should disable the firewall
(if you’re not allowed to do this, ask your system admin to open connection on port 3306) :-]




