Forum Replies Created

Viewing 1 replies (of 1 total)
  • dbarefoot,

    I also had trouble with mysql connection about an hour ago. I hate to admit it, but I made a real rookie mistake while trying to install wordpress.

    Maybe your having the same trouble I had.

    I made the mistake in the setting up of the congfig.php file.

    I entered my sql data in the wrong part of the form.
    See below:

    Here’s how I entered my data the first time:
    <?php
    // ** MySQL settings ** //
    define(‘mysql_database’, ‘wordpress’); // The name of the database
    define(‘my_username’, ‘username’); // Your MySQL username
    define(‘*****’, ‘password’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    Do you see the mistake yet?
    I should have entered the data as below:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘mysql_database’); // The name of the database
    define(‘DB_USER’, ‘my_username’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘*****’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    Hope this helps.

    Joe

Viewing 1 replies (of 1 total)