Forums

Weblogs.us users - please help! (database info) (5 posts)

  1. wlevar
    Member
    Posted 3 years ago #

    Hello,

    I am not getting a response on the Weblogs.us support forums, so I decided to see if anyone here knows how to solve my problem.

    I am using Weblogs.us, and I accidentally deleted the wp-config.php file while installing WP 2.0. I don't remember what I should use for DB_NAME, DB_USER, and so on. Does anyone know what I should put there?

    Thanks,
    Wolfgang

  2. petit
    Member
    Posted 3 years ago #

    I suppose you are using a MySQL database, and that you have some admin interface to that, maybe phpMyAdmin.
    Go there and look up the name for your database, the user name and password. If you cannot see your user data, create a new user/password for the WordPress database.
    Write these data into the config.php.

  3. wlevar
    Member
    Posted 3 years ago #

    I tried installing phpMyAdmin and I got this error:
    #2003 - The server is not responding
    Any thoughts?

  4. petit
    Member
    Posted 3 years ago #

    Sounds a bit strange. I suppose to get help you have to give some furhter details.
    Is Weblog.us your service provider?
    How did you install WordPress in the first place?
    How did you set up your database?

    If nothing helps, can you make a backup of your database?
    Maybe then creat a new database with new user/password, and restore your data?

  5. mtekk
    Member
    Posted 3 years ago #

    wlevar,
    The following code will help you. It's from the wp-config.php file.

    // ** MySQL settings ** //
    define('DB_NAME', 'wp_name'); // The name of the database
    define('DB_USER', 'name'); // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', '192.168.1.11'); // 99% chance you won't need to change this value

    You need to replace the 'name' with what ever your subdomain name is for weblogs.us, for example mine is mtekk.weblogs.us, your password should be what ever your origional wordpress administrator password was that either you requested from JD or what he sent you. Don't change the DB_HOST field since weblogs.us now has an seperate database server.

    P.S. I did the same thing when I upgraded to 2.0 on December 31, and had to get it to work myself.

    -John Havlik

Topic Closed

This topic has been closed to new replies.

About this Topic