Unable to access my blog

Status
Not open for further replies.

hawkindbq

New Member
Messages
4
Reaction score
0
Points
1
I get an "Error establishing database connection" when I try to access my Word Press blog at this site: http://brettanderson.x10hosting.com/my_blog/

If I try to go to the admin site at http://brettanderson.x10hosting.com/my_blog/wp-admin/ it says it can't contact the database server at mysql-starka.x10hosting.com.

I think the username and password should be ok - I haven't ever changed them.

Does this mean I just need to change the server name in the wp-config.php file? Is it just replacing starka with chopin?

Please advise.

Thanks.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Change your database host to localhost

These lines of wp-config.php must be look like this after editing..
PHP:
/** MySQL hostname */
define('DB_HOST', 'localhost');
 
Last edited:

Kansy

Community Advocate
Community Support
Prime Account
Messages
2,621
Reaction score
9
Points
38
Remember that if the issue is solved it's good to close the thread so all will get the same help. :)
 
Status
Not open for further replies.
Top