• Resolved razclud

    (@razclud)


    Hello,

    I recently deleted my database for my blog and as a result i get :Error establishing a database connection:, i tried to find some answers on the forum but people were talking about problems between mysql 4 and mysql 5 and this is not the case, my previous database was mysql 5.

    So i have the restored database on my PC, i have created a new database with the exact name and description as of the one deleted in the first place. I went in it and uploaded my previous database and it still doesn’t work. My hosting company said that in order for it to work i have to do this :

    “As for the error connecting to the database. It appears the wordpress installation is set to connect to one of the databases that was removed. You will need to update the wordpress configuration to connect to the database the information for that installation was restore to.”

    I am a beginner with mysql know nothing about it or how can I make it work. I thought that by creating a database with the same name will solve this but i still get that error “Error establishing a database connection”.

    I am desperate i don’t know what to do, my blog was what I did for a living and now its down.

    Can some please help me out?
    Thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • edit your wp-config.php file and put the write username/password and db name in it.

    Thread Starter razclud

    (@razclud)

    user and pass are correct, i checked for all of my domains, still doesn’t work, i get the same error ??

    Thread Starter razclud

    (@razclud)

    problem solved, when creating a new DB they change the server name so get the new server name and edit the wp-config.php file and it will work

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deleted database please help’ is closed to new replies.