[Pkg-mediawiki-devel] Bug#698617: Bug#698617: mediawiki: On a new site installation, it cannot create the database since it doesn't get the user name
Platonides
platonides at gmail.com
Fri Jan 25 11:00:34 UTC 2013
On 21/01/13 09:26, Rene Horn wrote:
> Package: mediawiki
> Version: 1:1.19.3-1
> Severity: important
>
> Dear Maintainer,
>
> * What led up to the situation?
>
> I just installed Mediawiki, and I had created a vhost for it. I was going through the initial setup, and got to the end where it
> tries to create the database.
>
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
>
> I was just trying to complete the web interface installation (mw-config/index.php).
>
> * What was the outcome of this action?
>
> I got this error from the install (it seems that it did not pass in the user name, which in this case I put in 'dice_wiki' for the
> user name):
>
> 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 `dice_wiki`
>
> from within function "MysqlInstaller::setupDatabase". Database returned error "1044: Access denied for user ''@'localhost' to
> database 'dice_wiki' (localhost)".
Did you fill out the username ("Database username:") in the "Connect to
database" step? Did you remove the preset of 'root'?
MediaWiki 1.19.3 is using the contents of that field for me.
More information about the Pkg-mediawiki-devel
mailing list