error establishing connection problem

Asked by:
sersanet / 15 Points
2013-01-10 5:01 am EST
New Customers
Dear Sirs, we are trying to install wordpress to hosting, and here is the first problem although we are using the correct login/pass:

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Can you please check and advise what is wrong?

To ask this user for more information, please first login.

To submit an answer, please login.



16,266 Points
2013-01-10 9:44 am EST
Hello sersanet,

That error means that the username/password combination the Wordpress is using to log in is not the same username/password combination the database is expecting.

You can alter the username and password the Wordpress application sends by editing the WP-config.php file. You can fidn and edit that via you cPanel File Manager.

The lines appear as follows:

/** MySQL database username */
define('DB_USER', 'username goes here');

/** MySQL database password */
define('DB_PASSWORD', 'database password goes here');

Best Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.