Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How can I remove the old ip address from my connection script?

Just now my site show:

Error establishing a database connection.

I am using wordpress on mixedsoft.com (remote sql issues)

share|improve this question
add comment

1 Answer

You need to edit the wp-config.php file. This contains the constants defined for your connection script.

You will find this file in the root folder of your WordPress installation.

share|improve this answer
    
That's correct, you need to enter the IP in wp-config instead of localhost as well as make sure your username and password are correct for the MySQL server. I would also make sure that if you need to enable remote myself you have set that for your IP. –  Anagio Dec 19 '12 at 15:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.