My Wordpress site is having errors.

Status
Not open for further replies.

neosurfer2695

New Member
Messages
48
Reaction score
0
Points
0
Hi,
My Wordpress site is having problems, I think it's Wordpress because I didn't delete the admin.php for the older site, and can still access that, however I can't access the Wordpress site, now maybe that's because Corey is updating something that only affects the Wordpress site.
If there is anything you can do that would be great.
Thanks-

P.S. My site has been down all day.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
Your problem is most likely due to the MySQL work as I visited your website and got a database connect error. Keep an eye on this forum for news on the progress of Corey moving MySQL to a faster server.

http://forums.x10hosting.com/service-alerts/

EDIT: Corey JUST posted that Lotus is the next server to be transferred to the new MySQL server.
 
Last edited:

shrinidhirao

New Member
Messages
9
Reaction score
0
Points
0
I am on Chopin.

For wordpress, I changed the DB_HOST from mysql-chopin.x10hosting.com TO localhost.

Things started to work immediately.
 

mappeal

New Member
Messages
4
Reaction score
0
Points
0
@ shrinidhirao (or anyone else able to give me a hand)

would you be so kind as to tell me HOW TO change that DB_HOST to local host? I've been looking around but can't seem to be able to find it.

thanks a bunch

M.A.
 

shrinidhirao

New Member
Messages
9
Reaction score
0
Points
0
@ shrinidhirao (or anyone else able to give me a hand)

would you be so kind as to tell me HOW TO change that DB_HOST to local host? I've been looking around but can't seem to be able to find it.

thanks a bunch

M.A.

I presume that you are having wordpress installed previously and now [after the recent mysql upgrades] are encountering 'Error establishing database connection'.

This is how I solved mu issue.
1. Log in to your cPanel.
2. Go to File manager.
3. Locate the file wp-config.php
4. Edit the file [online or offline].
5. Locate the following lines
/** MySQL hostname */
define('DB_HOST', 'your.sql.host.address');
Here your.sql.host.address was mysql-chopin.x10hosting.com in my case. It may be different for your server.
6. Replace your.sql.host.address with localhost
define('DB_HOST', 'localhost');
7. Save the file. [Upload it if you have edited offline]
8. Refresh your browser.
9. Voila!!!

Hope it helps.
 
Status
Not open for further replies.
Top