I have a web server that I can manage via cPanel and I'm trying to connect to a MySql database on a dedicated server (running Ubuntu Server) that I manage. I have two tester connections that give the same error code (from web server to dedicated server). Code (Text): CDbConnection failed to open the DB connection: SQLSTATE[HY000]  Can't connect to MySQL server on 'IP_ADDRESS' (110) This is from Multicraft Can't connect to MySQL server on 'IP_ADDRESS' (110) I also tried on my computer to connect to the dedicated server and I can do it. I'm using HeidiSQL as a GUI client to try connecting and I can connect to it with the same credentials. What I have tried: (I'm using Webmin to manage my mysql server) Set user host to Any Checked my.cnf for a bind address and it is bound to 0.0.0.0(all ips) Checked host permissions for specific databases and set the database to my test user and Any for hosts The Iptable should just allow all because after installing Ubuntu Server I have not changed anything. I have no idea what else to try.