WordPress.org

Support

Support » Installation » Error establishing a database connection

Error establishing a database connection

  • Please can anyone help me?

    I am trying to set it up wordpress urgently but its not working.

    The information I have is on my server is Nickname, URL, password, Server (which is the domain name plus co.uk – is this an unusual format?) & username (a number preceeded by the letter u – is this an unusual format?). Where would these fit within the below?

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘putyourdbnamehere’);

    /** MySQL database username */
    define(‘DB_USER’, ‘usernamehere’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘yourpasswordhere’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

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