Forums

wp_config.php DB config problems (3 posts)

  1. EmilySmith
    Member
    Posted 4 years ago #

    during installation of wordpress....i need to add the appropriate configurations to the file wp_config.php and upload it. Here are the parameters I need to fill:
    // ** MySQL settings ** //
    define('DB_NAME', 'joelcg'); // The name of the database
    define('DB_USER', 'joelcg'); // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'lerablog.org/cutcher-gershenfeld/wordpress'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    Basically, DB Name, DB User, DB Password, DB Host... I have tried every possible combination of the information I have available to me on the DB I have created for this sub-domain, and nothing works... Can anyone out there cut and paste their code for me to compare with?

    And, if anyone needs to know...Here is the information I am working with on the DB:
    Descriptor: wp for cutcher-gershenfeld
    MySQL DB/Username (That's how it's written in GoDaddy): joelcg, and
    Password: Password
    it is located (I think??) at http://www.lerablog.org/cutcher-gershenfeld/wordpress

    It would SO be helpful if these programmers would use the same words for the same things...but I guess it must be more complicated that that.

    Thanks to anyone out there willing to help a struggling, over-worked, and under-paid, at-wits-end not-for-profit employee.

  2. supert3d
    Member
    Posted 4 years ago #

    You need to change your DB_HOST entry. It's the hostname of your database, not the website.

    With GoDaddy it's something like :

    'mysqlXXX.secureserver.net' with XXX being unique to your GoDaddy account.

    Login to your GoDaddy account and check in the Control Panel Settings > PHPMyAdmin for your database hostname.

    Also, if your running the latest version of WordPress (2.3.2) Check your hosting supports PHP5.

    The wp-db.php file uses the ___construct and ___destruct methods which are PHP5 only.

  3. growingthumbs
    Member
    Posted 4 years ago #

    Sounds like that will fix the problem. On most hosts you don't have to change the last field.

Topic Closed

This topic has been closed to new replies.

About this Topic