I have problems accessing my mysql database remotely

If you have problems accessing your database remotely please make sure that:

  • You are using the correct mysql hostname – it should be yourdomain.com or your server's name;
  • You are using the correct mysql database / username / password. Make sure you have followed right steps for creating them;
  • Don't forget to specify your mysql username and database with the prefix yourusername_ in front of its given name. For example your CPanel username is siteground and you have named your database joomla. In this case you have to refer to your database as siteground_joomla;
  • You have allowed the remote host to access your database. This can be done from your Cpanel, Mysql, “Allowed hosts” at the bottom of the page. Cpanel does not allow any hosts to access your database by any means;
  • You are connecting to the TCP port 3306.

A common mistake is to try accessing your databases using the main cpanel login. This will not work and you have to use the mysql user instead.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do you support GD & ImageMagick?

Yes, we do support GD & ImageMagick modules across all our servers. The module-binaries are...

How can I execute php code as .htm or .html files?

In your .htaccess file insert this line of code:AddType application/x-httpd-php .html .htm...

How can I login into cPanel / WHM / Webmail?

You can login to cPanel by : http://cpanel.yourdomain.com http://yourdomain.com:2082...

How do I auto-redirect my web pages?

Redirects are used when you want to point a specific url or web page to another location. For...

Powered by WHMCompleteSolution