Title: define(&#8216;DB_NAME&#8217;, &#8211; ???
Last modified: August 18, 2016

---

# define(‘DB_NAME’, – ???

 *  astroscout7
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/)
 * OK … I’m a beginner with code … two questions:
    1. I opened this file: wp-config.
   php and it is aksing me to supply the database name? Where do I find the name
   of the database? 2. Then there is this part: // Change this to localize WordPress.
   A corresponding MO file for the // chosen language must be installed to wp-includes/
   languages. // For example, install de.mo to wp-includes/languages and set WPLANG
   to ‘de’ // to enable German language support. define (‘WPLANG’, ”); I HAVE NO
   IDEA what all that means!? Inside of the wp-includes folder there is no ‘languages’
   directory? Am I supposed to add a’languages’ directory? Where do I get an MO 
   and what do set WPLANG to? Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84220)
 * 1. You need to have created a database for wp to use, or, your host will have
   a named database that you use anyway.
    2. What language do you want ?
 *  Thread Starter Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84226)
 * 1. How do I find out the name of that database?
    2. English
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84227)
 * 1. Ask your hosting company for your database name, or have a look at the mysql
   settings in your cpanel.
    2. No worries- ignore that bit then.
 *  Thread Starter Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84231)
 * Ok … this is what I’ve found for MySQL:
    MySQL Â Â Â Â  Â Â Â Â  Â Â Â Â  Database
   Administrator: pg7160 Â Â Â Â  Â Â Â Â  Â Â Â Â  Number of Databases: 1 Â Â Â
   Â  Â Â Â Â  Â Â Â Â  Database Prefix: 4oakscollegegroup_com_-_ Then I dug a little
   deeper and found this: MySQL 3.23.58 running on localhost as [pg7160@localhost](https://wordpress.org/support/topic/definedb_name/pg7160@localhost?output_format=md)
   I’ve tried putting all of those in there but it always gives me the errore page
   saying: Error establishing a database connection! This probably means that the
   connection information in your wp-config.php file is incorrect. Double check 
   it and try again. Are you sure you have the correct user/password? Are you sure
   that you have typed the correct hostname? Are you sure that the database server
   is running? WordPress Support Forums Any ideas?
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84232)
 * The DB_NAME
    4oakscollegegroup_com_-_ needs something added after it. The rest
   is probably correct. Do you have phpMyAdmin ? If so, log into that, and ‘Create
   database’. The name you enter there should be added to the end of what you have
   above.
 *  Thread Starter Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84400)
 * I have this same problem except I have the right db name, usrname, and password.
   I left it as local host becausemy phpmyadmin tells me that i’m running from Local
   host. so.. I’m confuzzled.
    Oh, and I made a subdirectory for WP called WordPress…
   Because i don’t want it all installed at the root. *headache* 🙁
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84402)
 * Check this thread.
    [http://wordpress.org/support/2/11365](http://wordpress.org/support/2/11365)
   And when you specify localhost, there’s no spaces: Right: localhost Wrong: local
   host [@anon](https://wordpress.org/support/users/anon/), when you set up your
   database and user, did you then ADD the user to the database? You mustn’t forget
   that important step! Joni
 *  [akanowicz](https://wordpress.org/support/users/akanowicz/)
 * (@akanowicz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84412)
 * I’m having troubles too…
    I’ve entered the information I see on my hosting companies
   website about the data base I created. The db is akanowic_blog. I put that in
   the wp-config file along with the username and password. But still no luck. I
   get an error when trying to access the install.php file.
 *  [Mary Linville](https://wordpress.org/support/users/sunshine/)
 * (@sunshine)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84413)
 * What error?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘define(‘DB_NAME’, – ???’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 5 participants
 * Last reply from: [Mary Linville](https://wordpress.org/support/users/sunshine/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/definedb_name/#post-84413)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
