• steppie88

    (@steppie88)


    Ok I’m afraid that i changed my wp-config.php, I saved it and now i cannot acces my database anymore.

    I guess it has to do something with:

    define(‘DB_NAME’, ”);
    define(‘DB_USER’, ”); //
    define(‘DB_PASSWORD’, ”);
    define(‘DB_HOST’, ‘localhost’);

    But I cant remember this…

    Is there any way to recover this? Or should i just start all over agian.. ( I dont hope so! ?? )
    I had everything setup at my computer working with bitnami. Everything was ready to upload, so im pretty frustated. Hopefully somebody can help me..

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Go into the place where you set up your database & user – you should be able to see the database name & user there, and you should be able to reset the password as well. Copy the info into your config.php.

    Moderator Kathryn Presner

    (@zoonini)

    Keep in mind that when you upload your site you’ll need to set up a new database, user & password at your web host, and make a matching config.php file for that configuration.

    Thread Starter steppie88

    (@steppie88)

    Ok thank you for your answer, what file should i look for? since there are so many..

    Moderator Kathryn Presner

    (@zoonini)

    I’m afraid I don’t know anything about bitnami – maybe someone else can help, or check out their forums for assistance.

    crisjb

    (@crisjb)

    Your previous database should be intact. You can still connect to it if you retrieve the access codes from the admin panel of your host, or bitnami. Try retrieving this info from you bitnami account or support. Funny, the Bitnami service should be “refreshingly simple”.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.