Title: Msql database error
Last modified: August 18, 2016

---

# Msql database error

 *  Resolved 51564
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/)
 * Check out this site
    [http://azianbonsai.to.md/](http://azianbonsai.to.md/)
 * my login [http://www.pandela.com/](http://www.pandela.com/)
 * the server is running on
    phpMyAdmin 2.6.4-pl2 I couldn’t active msql file on
   the php panel, so I didn’t bother with it. Is it a problem? it is running as 
   local host so I didn’t change its value
 * Here is my config file
 * <?php
    // ** MySQL settings ** // define(‘sysadmin_wp’, ‘wordpress’); // The 
   name of the database define(‘sysadmin_wp’, ‘username’); // Your MySQL username
   define(‘#####’, ‘password’); // …and password define(‘DB_HOST’, ‘localhost’);//
   99% chance you won’t need to change this value
 * // You can have multiple installations in one database if you give each a unique
   prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
 * // 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’, ”);
 * /* That’s all, stop editing! Happy blogging. */
 * define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.
   php’); ?>

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320069)
 * My local WordPress has nothing for the password. Try that:
 * `define('DB_PASSWORD', ''); // ...and password`
 *  Thread Starter 51564
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320073)
 * I tried using MichaelH suggestion, but I have a password to mysql database. Still
   doesn’t work
 * From Sysadmin
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320076)
 * You’ve flipped the “define” values you should be setting:
 * `define('DB_NAME', 'sysadmin_wp');
    define('DB_USER', 'sysadmin_wp'); define('
   DB_PASSWORD', '#####'); define('DB_HOST', 'localhost');
 *  Thread Starter 51564
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320078)
 * Thanks, this problem as been resolved
 * Heres the site
 * [http://azianbonsai.to.md/](http://azianbonsai.to.md/)
 * now i get this error when logging in
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/users/c0/sysadmin/www/azianbonsai.to.md/wp-config.php:23) in /usr/
   home/users/c0/sysadmin/www/azianbonsai.to.md/wp-login.php on line 9
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/users/c0/sysadmin/www/azianbonsai.to.md/wp-config.php:23) in /usr/
   home/users/c0/sysadmin/www/azianbonsai.to.md/wp-includes/pluggable-functions.
   php on line 221
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/users/c0/sysadmin/www/azianbonsai.to.md/wp-config.php:23) in /usr/
   home/users/c0/sysadmin/www/azianbonsai.to.md/wp-includes/pluggable-functions.
   php on line 222
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/users/c0/sysadmin/www/azianbonsai.to.md/wp-config.php:23) in /usr/
   home/users/c0/sysadmin/www/azianbonsai.to.md/wp-includes/pluggable-functions.
   php on line 194
 * and this in the login page
 * [http://azianbonsai.to.md/wp-login.php](http://azianbonsai.to.md/wp-login.php)
 *  [scapades](https://wordpress.org/support/users/scapades/)
 * (@scapades)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320081)
 * This is the error that I am getting…what am I doing wrong?
 * Your PHP installation appears to be missing the MySQL which is required for WordPress.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320088)
 * Is this on a hosted environment? Then contact your host.
 * If it’s hosted by you – learn how to set up a server, we do not support that.
 *  Thread Starter 51564
 * [20 years, 4 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320125)
 * Thanks very much everyone, I resolved all the errors.
 * Heres the final site
 * [http://azianbonsai.to.md/](http://azianbonsai.to.md/)
 *  [shemait](https://wordpress.org/support/users/shemait/)
 * (@shemait)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320260)
 * How did you resolve all the errors? Because I am getting similar ones.
 *  Thread Starter 51564
 * [20 years, 3 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320269)
 * Go to wordpress.org and redownload the wordpress package. use ftp or the upload
   manager to replace the old Index.php on the server with the new one Index.php
   in the package.
 * Why, their are spaces between <?p> which we can’t see. We could have meddled 
   with the file that cause this error. So the freshly index.php would solve all
   the problems
 * Good Luck
 * +++Check out my blog and post some comments

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

The topic ‘Msql database error’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 6 participants
 * Last reply from: 51564
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/msql-database-error/#post-320269)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
