Support » Installing WordPress » Error establishing a database connection

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

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

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

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

    /** 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’, ” );


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Are you absolutely sure your database HOST address is Or did you mean to enter the localhost IP

    Also, while space is a valid character in a MySQL database name and username, it often has to be quoted, and I’ve personally run into all sort of issues with this in the past. You can save yourself a lot of trouble down the road by choosing a database name and username with no space or other special characters.

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