WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (2 posts)

  1. youngone
    Member
    Posted 8 years ago #

    Hi I seem to be having the age old problem of accessing mysql database. I have read the previous posts on this issue and followed all the instructions to no avail. config below...

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

    This does not appear to work..

    I have associated the the user with the database.
    I am sure localhost is the correct host.

    please help asap

    thanks

  2. moshu
    Member
    Posted 8 years ago #

    On some servers the username and database name are the same. Isn't that your case? (just guessing...)

Topic Closed

This topic has been closed to new replies.

About this Topic