When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on x.x.x.x on port 3306 (10060)

Please ensure you have added the remote IP to the allow list in your hosting control panel MariaDB - MySQL area. Contact us with a support ticket with the remote IP and we can allow it at the firewall for MariaDB - MySQL usage as well.

If you are behind a personal or work router, make sure you have UDP and TCP endpoint filtering set to "Endpoint Independent".



 

 

Share this page:


Was this article useful? Have any suggestions or improvements to the information?

Also Read

How can I find my MariaDB - MySQL version?

Login to cPanel In the "Stats" section on the left, locate the row labeled "MariaDB or MySQL...

What port is MariaDB - MySQL on?

MariaDB / MySQL is on Port 3306.      

How can I view/modify data in my MariaDB - MySQL database?

Only make changes if you know exactly what you are doing. Often incorrect changes can have an...

Premature end of script headers

If you receive an Internal Server Error 500 and checking your log files displays "Premature end...

Running a PHP file with a cron job

To run a PHP file from cron, use the "cron jobs" section of your control panel. Use the following...