Topic on Project:Support desk

Error when trying to install MediaWiki 1.20.2

2
Cmach7 (talkcontribs)

Here is the message that I get:

Warning: Cannot modify header information - headers already sent in C:\xampp\htdocs\wiki\includes\Exception.php on line 269

Warning: Cannot modify header information - headers already sent in C:\xampp\htdocs\wiki\includes\Exception.php on line 270

Warning: Cannot modify header information - headers already sent in C:\xampp\htdocs\wiki\includes\Exception.php on line 229 A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: CREATE DATABASE `my_wiki` from within function "MysqlInstaller::setupDatabase". Database returned error "1044: Access denied for user @'localhost' to database 'my_wiki' (localhost)". Backtrace:

  1. 0 C:\xampp\htdocs\wiki\includes\db\Database.php(916): DatabaseBase->reportQueryError('Access denied f...', 1044, 'CREATE DATABASE...', 'MysqlInstaller:...', false)
  2. 1 C:\xampp\htdocs\wiki\includes\installer\MysqlInstaller.php(469): DatabaseBase->query('CREATE DATABASE...', 'MysqlInstaller:...')
  3. 2 [internal function]: MysqlInstaller->setupDatabase(Object(MysqlInstaller))
  4. 3 C:\xampp\htdocs\wiki\includes\installer\Installer.php(1454): call_user_func(Array, Object(MysqlInstaller))
  5. 4 C:\xampp\htdocs\wiki\includes\installer\WebInstallerPage.php(1161): Installer->performInstallation(Array, Array)
  6. 5 C:\xampp\htdocs\wiki\includes\installer\WebInstaller.php(269): WebInstaller_Install->execute()
  7. 6 C:\xampp\htdocs\wiki\mw-config\index.php(50): WebInstaller->execute(Array)
  8. 7 C:\xampp\htdocs\wiki\mw-config\index.php(18): wfInstallerMain()
  9. 8 {main}

Can you help me?

Bawolff (talkcontribs)

You used the wrong database password when trying to install (Or the username/pass is valid, but the user doesn't have sufficient rights). Using the right password should fix the issue.

I've filed bugzilla:43528 for the error message being too complicated/ugly.

Reply to "Error when trying to install MediaWiki 1.20.2"