• Hi there, i have some problems with the configuration of WordPress, because i don’t know exactly which lines of the file “wp-config-sample.php” i have to set. MySQL settings are ok, but is there anything else to be modified?

    Thanks for the support

Viewing 8 replies - 1 through 8 (of 8 total)
  • First rename the wp-config-sample.php to wp-config.php. Then change these lines so that they fit to your MySQL account:

    // ** 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

    ??

    please forgive my dummy question, but…

    you mean I need to edit the *right* item, i.e. in (‘DB_NAME’, ‘wordpress’) I need to change the “wordpress” in cse my DB has another name, right?

    Cheers & TIA, Tom

    Moderator James Huff

    (@macmanx)

    One more question, I just checked my installed database on the “virtual server” (with all my domains) that I rented from that ISP…

    I’m asked to edit also this:

    define(‘DB_USER’, ‘username’); // Your MySQL username

    What is meant by “username” — the username for that domain? Cause I can’t find a special username for that DB… <scratch head>

    TIA, Tom

    Moderator James Huff

    (@macmanx)

    The user name used to access the MySQL database.

    Thanks, Macmanx, for the link, it already helped me quite some.

    But this “username” for the MySQL database still puzzles me, excuse me, please, if I am being “thick” here.

    – When I installed the DB from the interface at my ISP I was neither given nor asked for a username, I just got the DB, its (default) name, and a password (which I adjusted to my taste).

    – Question now is: Is the username which I edit in wp-config.php something which I *define* just there for later use with WP? If not, then how in the world can I find out that username?

    I’ve never worked with elaborate databases like MySQL, using a Mac I’ve always been happy using the beautifully easy FileMaker Pro, which is a different animal, as you will know.

    Thanks, Tom

    Check your hosting control panel. I can log in to manage my databases and it shows the allowed user names there. For my WP database, the username is the same as the db name, but that’s just an example.

    Thanks all, I seem to have it up and running now, though only in inofficial test phase, therefore no URL (it’s gonna be cat content anyway ;-)).

    Problem was that my host company had the information about the MySQL database username well hidden somewhere deep down in their information file. My bad and their disorder. Nevermind…

    Thanks again, Tom

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp-config.php questions’ is closed to new replies.