WordPress.org

Support

Support » Installation » [Help Needed] Error while installing WP

[Help Needed] Error while installing WP

  • ferrari_alex
    Member

    @ferrari_alex

    Hello All,
    While trying to install WP (http://varsovia.nazwa.pl/wp/wp-admin/install.php), I get the following error:

    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 sql.varsovia.nazwa.pl. This could mean your host’s database server is down.“

    I understand that the problem might be related to the wp-confi file.

    This is how I have filled it out:
    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘varsovia’);

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

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

    /** MySQL hostname */
    define(‘DB_HOST’, ‘sql.varsovia.nazwa.pl’);

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

    Can you help me spotting an error?
    This is how the DB is configured: varsovia.nazwa.pl/wp/wp-admin/
    Shall I change something in teh wp-config file?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi
    Forum Moderator

    @esmi

    Check your database details with your hosts.

    I am having the same issue. Tried editing the wp-config file myself, then reinstalled the sample file and tried letting wp do it automatically, received the same error both times.

    Verifying details with my host now. Hopefully that will be the solution.

    loughcorrib
    Member

    @loughcorrib

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

    Are you sure this is correct normally the db number would be here with an attached wp id

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Help Needed] Error while installing WP’ is closed to new replies.