Support » Installing WordPress » Install Script not working

  • Recently, my site was hacked and I moved it to iPage.

    When attempting to run the install script (http://drewfansler.com/wordpress/wp-admin/install.php), I receive this message.

    “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?”

    Username/password are correct.
    hostname is correct.

    I have the following connection code snippet:

    <?php
    $link = mysql_connect(‘drewfanslercom.ipagemysql.com’, ‘drewfanslercom’, ‘*password*’);
    if (!$link) {
    die(‘Could not connect: ‘ . mysql_error());
    }
    echo ‘Connected successfully’;
    mysql_select_db(drew);
    ?>

    It looks like the database is running. If the password and user ID are correct, does anyone have any insight as to why the install script can’t or won’t run?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Install Script not working’ is closed to new replies.