Forums

[resolved] Where in the script do I place mySQL info? (2 posts)

  1. aar0on
    Member
    Posted 5 years ago #

    I assumed I deleted username and password in the script and replaced them with the actual info. I tried it and got a message saying it was having trouble establishing a database connection. I double-checked to make sure the username and password were correct, and set the folder's CHMOD to 755. Any more help would really be appreciated.

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

  2. aar0on
    Member
    Posted 5 years ago #

    Nevermind, I finally got it. :/

Topic Closed

This topic has been closed to new replies.

About this Topic