• Resolved garytest

    (@garytest)


    this is what is coming up when i trying to install https://www.antiontestsite.com/Garysweb/wordpress/wp-admin/install.php
    i have checked everything 10 times…. can you help?

    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 antiontestsite.com. 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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator cubecolour

    (@numeeja)

    did you fill in the database connection details correctly?

    open your wp-config.php in a text editor & check

    Thread Starter garytest

    (@garytest)

    yes i have check several times all seems to be correct.

    i left this blank
    */
    define(‘AUTH_KEY’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
    define(‘NONCE_KEY’, ‘put your unique phrase here’);
    /**#@-*/

    but i am pretty sure this does not matter ……

    anymore suggestions ????????????

    Your problem is still in the settings in wp-congig.php or in the database itself. You need to make sure the database is set-up, the database user is set-up, the user is assigned to the database, and the user is given proper permissions on that database. Then you need to make sure the correct info is put in wp-config.

    See the following video for help.

    [link moderated]

    If that doesn’t help you, then click on the Install tag on that site and look for the video showing how to install WP.

    Thread Starter garytest

    (@garytest)

    <!! good videos very helpful but not the right answer i am not getting that error this is what mine looks like !>

    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 antiontestsite.com. 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

    <!! does this look right? !>

    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:anttest_Garyswordpress:localhost”,
    “anttest_gary”,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “anttest_gary”,
    “<PASSWORD HERE>”) or die(‘Cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“anttest_Garyswordpress”);

    Thread Starter garytest

    (@garytest)

    help

    looks like a typical cpanel mysql string
    things look right

    do you have it like so?

    efine('DB_NAME', 'anttest_Garyswordpress');    // The name of the database
    define('DB_USER', 'anttest_gary');     // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value

    careful that there aren’t extra spaces or apostraphes

    Thread Starter garytest

    (@garytest)

    IT FINALLY WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘have been trying install for hours’ is closed to new replies.