Thread:Project:Support desk/MediaWiki 1.20.2 installation

Am trying to install MediaWiki 1.20.2

I create a new db called db_wikimedia via my web host and set up an admin user called db_wiki_admin and put these details in the install script but at the final step it fails with:

Setting up database... A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: CREATE DATABASE `db_wikimedia` from within function ‘MysqlInstaller::setupDatabase.’ Database returned error ‘1044: Access denied for user 'db_wiki_admin'@'%' to database 'db_wikimedia' (localhost).’ Backtrace:


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

Why should it be trying to create a database that I've already created and told it about. What am I missing? Should I be configuring this some other way?

Thanks

David

PS Since I am new to Wikis, how do I embed code (or, rather, the error message as pasted in above) to make it render correctly? I was looking for some tags but don't know where to start. :o(