Support » Fixing WordPress » After 3.4.2 Uprgrade no picturers then Error establishing a database connection

Viewing 10 replies - 1 through 10 (of 10 total)
  • Check your wp-config.php and see if you have the correct DB_NAME, DB_USER, DB_PASSWORD and DB_HOST.

    Thank you for your post, when you say check I presume you mean open up the file on the server via my ftp and if so what do I use a simple text editor or notepad+ ?
    sorry to ask what may be an obvious question but a little new to this.

    It may not be safe to edit the file online, unless you are quite experienced with it. You can download a copy from your site and check the four inputs (as I said above) and see if they are correct. The problem (error establishing…) generally occurs because of incorrect inputs in those four fields. You can edit the file using a plane text editor such as notepad, though Notepad++ is more safer.

    Thanks I transfered the file over via FTP to my computer and opened it using notepad+ and here are the results;

    I think or presume these are fine how should I check they are correct?


    Please delete the above code immediately. DO NOT POST SUCH SENSITIVE INFO in a public forum.

    Edit: Did you check whether the posted info is correct?

    Even if you delete the post make sure you get that password changed.

    Ok sorry about the sensitive info was not thinking, have deleted the post and also changed the password via phpMyAdmin but as I said I think the DB_NAME, DB_USER, DB_PASSWORD and DB_HOST are as I would exspect them to be.

    If they are correct, replace the current file (if different) and see if the problem is solved.

    Hi I have changed the file with one I had on my computer but still no change. Not sure if the copy I had was in fact a copy of what was already on the server.

    Should I download a new copy from wordpress tomorrow. Thanks for your help this evening unfortunately need some sleep after a very frustrating day on the computer.

    Will re start posts again tomorrow evening after work

    Good evening,
    Just following up on yesterday and yes I changed the file and nothing happened would like further help if someone is in the forum as to what to do next

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘After 3.4.2 Uprgrade no picturers then Error establishing a database connection’ is closed to new replies.