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".



 

 
  • 153 Users Found This Useful

Was this answer helpful?

Related Articles

Could not connect to the MariaDB - MySQL database

You will want to verify you are using the correct database name, username and password.All...

I am having problems with a script I wrote

PHP suexec is running on all of our shared servers. If you are running code that is insecure or...

phpMyAdmin - Error Incorrect format parameter

When importing a database with PHPMyAdmin I receive the error "Error Incorrect format parameter"....

Test MySQL Connection

The following is a great way to verify a MySQL / MariaDB database connection issue. Create a file...

Disable MySQL strict mode on cPanel server

To disable mysql strict mode on a cPanel server, add the following to the end of the /etc/my.cnf...