• okay, so i’ve made a big mistake and i’ve locked myself out of my admin page. here is the error message i get:

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    so i will walk you through what i did, and hopefully someone will be able to help me.

    i wanted to use the virtual multiblog plugin. i uploaded the zip file and let it install. when i tried to activate, i got an error. can’t remember exactly now, but something about the header, like missing header or something.

    i went to read the faq offered on the virtual multiblog page, and read about the installation. the first problem seemed to be that they said the multiblog folder would be installed in the root directory, but it actually got installed in the wp-content/plugins directory. i thought this might be the problem, so i moved the folder to my root directory. i got a different error. so i then started walking through the install steps in the readme file.

    first, i moved the wp-config.php file to my root directory, replacing my old one. (i’m sure in hindsight this was a bad idea)

    second, in the wp-content/multiblog/config/ folder, i renamed mb-autoconfig-sample.php to mb-autoconfig.php. i opened mb-autoconfig.php in a text editor and input my database login information.

    here is where it gets really dicey. i’m not one hundred percent sure i entered the correct information. since i’ve made these changes, i have been getting the above error message as i said before, and cannot access my administrator dashboard. how can i check that i have indeed entered the correct information, or how can i confirm what the correct information should be?

    thanks for any and all help.

    doc

Viewing 1 replies (of 1 total)
  • That error message means you need to fix the wp-config.php file and put the correct information for DB_HOST, DB_USER, DB_PASSWORD, and DB_NAME.

    If you have problems getting that information ask your host for help.

Viewing 1 replies (of 1 total)
  • The topic ‘locked out of my admin page’ is closed to new replies.