WordPress.org

Forums

[resolved] have been trying install for hours (8 posts)

  1. garytest
    Member
    Posted 5 years ago #

    this is what is coming up when i trying to install http://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

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 5 years ago #

    did you fill in the database connection details correctly?

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

  3. garytest
    Member
    Posted 5 years ago #

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

  4. figaro
    Member
    Posted 5 years ago #

    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.

  5. garytest
    Member
    Posted 5 years ago #

    <!! 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");

  6. garytest
    Member
    Posted 5 years ago #

    help

  7. Samuel B
    moderator
    Posted 5 years ago #

    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

  8. garytest
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.