WordPress.org

Ready to get started?Download WordPress

Forums

wp-config.php (13 posts)

  1. mitchell613
    Member
    Posted 8 years ago #

    hey, i edited this to what i think are the correct values:

    my site is mitchelldickson.com

    define('DB_NAME', 'http://mysql37.secureserver.net'); // The name of the database
    define('DB_USER', 'mitchelldickson'); // Your MySQL username
    define('DB_PASSWORD', '*****'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    look ok? it won't work...

  2. TheBrotherhood313
    Member
    Posted 8 years ago #

    Heres your problem.
    define('DB_USER', 'mitchelldickson'); // Your MySQL username
    define('DB_PASSWORD', '*****'); // ...and password
    Where is says "mitchelldickson" that should have your Cpanel/FTP login name in front of it. For example 'name_mitchelldickson'
    Same goes for your password ;)
    Hope that helps.

    And actually. Your Database name is wrong i believe. Its whatever SQL database name you made in your My SQL Databases. I doubt you named it a link. But it is possible ;)

  3. mitchell613
    Member
    Posted 8 years ago #

    so, if my login name for ftp is mitchell613 my user should be mitchell613_mitchelldickson and my pw mitchell613_*****

    ???

    thanks for your help

    i changed my database name to my username and it's still not working.

  4. TheBrotherhood313
    Member
    Posted 8 years ago #

    Yes. Thats correct.
    And look at my post. I edited it as i believe your Database name is wrong ;)

  5. mitchell613
    Member
    Posted 8 years ago #

    still not working..

    this sure is frustrating

  6. TheBrotherhood313
    Member
    Posted 8 years ago #

    Did you ever create an SQL Database? If not, you need to create one first. Then edit that file with your new Database info.

  7. mitchell613
    Member
    Posted 8 years ago #

    i did create one. it gave me the location listed in the first post along with my user and pass.

  8. TheBrotherhood313
    Member
    Posted 8 years ago #

    You dont want the location there. In the Database name section you want the name you gave the Database. It should be a name you made, not a location.

  9. mitchell613
    Member
    Posted 8 years ago #

    it does and i tried that. i don't know why it isn't working.

  10. jaseone
    Member
    Posted 8 years ago #

    Are you using cPanel or another admin panel at your host to do this? It is likely both your username and database name you chose got prefixed with yourhostaccountname_ and also got truncated to a certain length, I suggest you look in the MySQL Databases section of your admin panel and see what they were actually created as.

  11. thegreatnorth
    Member
    Posted 8 years ago #

    your database name will be what you created it as:
    define('DB_NAME', 'mydatabase'); // The name of the database

    your username can either be that of your login for your website account, or if you were required to create another username in the control panel for the database you created.
    define('DB_USER', 'mitchell613'); // Your MySQL username

    sometimes ISP's use a different value for DB_HOST also, I have to use an IP address for mine (ie: 192.168.0.1)
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

  12. mitchell613
    Member
    Posted 8 years ago #

    good suggestion, greatnorth. do you use godaddy?

  13. mitchell613
    Member
    Posted 8 years ago #

    did anyone set this up on godaddy who'd be willing to give some advice?

Topic Closed

This topic has been closed to new replies.

About this Topic