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.

Esta resposta foi útil? 0 Utilizadores acharam útil

Artigos Relacionados

How do I Configure my Desktop's Mail Client with an Email Account?

A mail client is an application you use to check your email. The mail client can be either web...

Do you Support GD & ImageMagick?

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

How can I Enable Mod-Rewrite Module?

In order to enable Mod_Rewrite for your site you should create a text file called .htacccess in...

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