• Hi

    I am having difficulty getting WordPress to install against my new MySQL db.

    The details of my MySQL db are as follows:
    Server Name: mysql244
    Server IP Address: 213.171.218.244
    Database Name: digitalbritdiary
    Database Username: diaryadmin
    I have left out the passowrd line from the above.

    The wp-config file is as follows:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘digitalbritdiary’); // The name of the database
    define(‘DB_USER’, ‘diaryadmin’); // Your MySQL username
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    Again, I have left out the password line from the above.

    When I run https://www.digitalbrit.com/diary/wp-admin/install.php, I get:

    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 localhost. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    I have quized by host provider (Fasthosts in the UK) but no news yet. I’m asking is the database server up, is the localhost correct?. I’m also asking them to validate that my databse was set up correctly (I don’t know how to test this myself).

    Any other clues as to what to look for. Would I need to mention the server name or IP address in the wp-config file?

    Thanks in advance.
    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Install script error’ is closed to new replies.