cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
New

Database Connection Issues

Hi,

 

First time using GoDaddy. I have uploaded my site from a local machine, imported my database successfully and changed the wp-config.php;

 

define('DB_NAME', 'putyourdbnamehere');
/** MySQL database username */
define('DB_USER', 'usernamehere');
/** MySQL database password */
define('DB_PASSWORD', 'yourpasswordhere');

 

...with the correct info.

 

When I go the site, I am receiving "Error establishing a database connection".

Any direction would be greatly appreciated!

5 REPLIES 5
Helper V
Helper V
Solution

Re: Database Connection Issues

There is another setting that needs to be changed and that is the MySQL hostname. Chances are if you were hosting in on your local computer you will need to change 'localhost' to the correct location. The location depends on your hosting account but should be listed in the control panel for your account.

 

/** MySQL hostname */
define('DB_HOST', 'localhost');

Database problem: WordPress

Hello,

I bought hosting plan from godaddy. While doing one-click installation for wordpress, I encountered this error.

 

Unable to create a database. Check that your hosting account has at least one database available. If it does, please contact your host.

Technical Error: You have exceeded the maximum allowed databases.
`i3288936_sk9n1'

 

What does it mean?

Thanks in advance.

 

 

Re: Database problem: WordPress

i have the same problem. hope somebody can help. thank you

Re: Database problem: WordPress

Dear, Please see in the hosting section, You already have a database. Delete it first then try to install the wordpress. Hope, This will help you..

Re: Database problem: WordPress

Technical Error: You have reached your maximum allotment of databases (1). at /usr/local/cpanel/Cpanel/MysqlFE.pm line 472.
`i6125463_tdtk1'