Title: wp-config.php questions
Last modified: August 18, 2016

---

# wp-config.php questions

 *  [painkiller](https://wordpress.org/support/users/painkiller/)
 * (@painkiller)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-questions/)
 * 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)

 *  [zerok](https://wordpress.org/support/users/zerok/)
 * (@zerok)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-143938)
 * 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
 * 🙂
 *  [Bonobo](https://wordpress.org/support/users/bonobo/)
 * (@bonobo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144074)
 * 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](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144075)
 * [http://codex.wordpress.org/Editing_wp-config.php](http://codex.wordpress.org/Editing_wp-config.php)
 *  [Bonobo](https://wordpress.org/support/users/bonobo/)
 * (@bonobo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144076)
 * 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](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144077)
 * The user name used to access the MySQL database.
 *  [Bonobo](https://wordpress.org/support/users/bonobo/)
 * (@bonobo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144079)
 * 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
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144080)
 * 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.
 *  [Bonobo](https://wordpress.org/support/users/bonobo/)
 * (@bonobo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144086)
 * 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.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 5 participants
 * Last reply from: [Bonobo](https://wordpress.org/support/users/bonobo/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-questions/#post-144086)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
