Title: Database not found
Last modified: August 18, 2016

---

# Database not found

 *  [byedidia](https://wordpress.org/support/users/byedidia/)
 * (@byedidia)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-not-found/)
 * I get this error:
    We’re having a little trouble selecting the proper database
   for WordPress. Are you sure it exists? Your database name is currently specified
   as baraky5_wordpress. Is this correct? On some systems the name of your database
   is prefixed with your username, so it would be like username_wordpress. Could
   that be the problem? `<?php /** WordPress's config file **/ /** http://wordpress.
   org/ **/ // ** MySQL settings ** // define('DB_NAME', 'baraky5_wordpress'); //
   The name of the database define('DB_USER', 'baraky5_barak'); // Your MySQL username
   define('DB_PASSWORD', '*****'); // ...and password define('DB_HOST', 'localhost');//
   99% chance you won't need to change this value // Change the prefix if you want
   to have multiple blogs in a single database. $table_prefix = 'wp_'; // example:'
   wp_' or 'b2' or 'mylogin_' // 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', ''); /* Stop editing */ 
   $server = DB_HOST; $loginsql = DB_USER; $passsql = DB_PASSWORD; $base = DB_NAME;
   define('ABSPATH', dirname(__FILE__).'/'); // Get everything else require_once(
   ABSPATH.'wp-settings.php'); ?> These are my settings, cut and pasted from the
   cPanelX MySQL maintenance window. Databases: baraky5_wordpress Users: baraky5_barak
   Password: Access Hosts: localhost

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-not-found/#post-113371)
 * Did you add the user to the database? In CPanel it happens quite often that this
   step is left out…
    see more here: [http://www.tamba2.org.uk/wordpress/cpanel/](http://www.tamba2.org.uk/wordpress/cpanel/)
 *  Thread Starter [byedidia](https://wordpress.org/support/users/byedidia/)
 * (@byedidia)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-not-found/#post-113393)
 * Yup. Thanks!
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-not-found/#post-113395)
 * So, does it work now?

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

The topic ‘Database not found’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/database-not-found/#post-113395)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
