WordPress.org

Ready to get started?Download WordPress

Forums

[Help Needed] Error while installing WP (4 posts)

  1. ferrari_alex
    Member
    Posted 2 years ago #

    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

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Check your database details with your hosts.

  3. j1derly
    Member
    Posted 2 years ago #

    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.

  4. loughcorrib
    Member
    Posted 2 years ago #

    /** 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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.