From support desk: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Error_when_trying_to_install_MediaWiki_1.20.2
It would appear supplying the wrong password to installer gives a rather ugly error message and plenty of headers already sent warnings. (Note I haven't tried this myself, I'm going solely on the reported error - and the fact its an access denied error. Its possible the situation may be more complicated then a simple wrong db pass.)
The error the user received is:
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:
- 0 C:\xampp\htdocs\wiki\includes\db\Database.php(916): DatabaseBase->reportQueryError('Access denied f...', 1044, 'CREATE DATABASE...', 'MysqlInstaller:...', false)
- 1 C:\xampp\htdocs\wiki\includes\installer\MysqlInstaller.php(469): DatabaseBase->query('CREATE DATABASE...', 'MysqlInstaller:...')
- 2 [internal function]: MysqlInstaller->setupDatabase(Object(MysqlInstaller))
- 3 C:\xampp\htdocs\wiki\includes\installer\Installer.php(1454): call_user_func(Array, Object(MysqlInstaller))
- 4 C:\xampp\htdocs\wiki\includes\installer\WebInstallerPage.php(1161): Installer->performInstallation(Array, Array)
- 5 C:\xampp\htdocs\wiki\includes\installer\WebInstaller.php(269): WebInstaller_Install->execute()
- 6 C:\xampp\htdocs\wiki\mw-config\index.php(50): WebInstaller->execute(Array)
- 7 C:\xampp\htdocs\wiki\mw-config\index.php(18): wfInstallerMain()
- 8 {main}
Version: 1.20.x
Severity: normal
URL: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Error_when_trying_to_install_MediaWiki_1.20.2