Last modified: 2010-05-15 15:33:47 UTC
tag 34361 +upstream -- Hi all! This is a bug we received from our package which seems to be related to upstream source code. I've searched in the DB and couldn't find a similar, so I'm filling a bug here, hope it's not well known... --- Package: mediawiki Version: 1.4.12-1 Severity: normal I tried to configure mediawiki using the automatic tool at http://localhost/mediawiki/config/index.php but it kept failing with the message MySQL error 1045: Access denied for user 'root'@'localhost' (using password: YES) I had just installed mysql and had root access, using a password different from the system root account. I changed the mysql root password using the procedure here: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html and the configuration succeeded. I think the only significant change was that the original password had special characters (@ and $) but the second one had only numbers and letters. I suspect the configuration script isn't escaping the password. - Jim Van Zandt
Was this the username & password given for the wiki to use, or the separate root password given for the installer to set up the tables and user with?
From: "James R. Van Zandt" <jrvz@comcast.net> To: 344361@bugs.debian.org Subject: password differences Date: Fri, 23 Dec 2005 22:33:23 -0500 ...or at least the mediawiki configuration script handles the password differently than the shell. Maybe it's just that the suggested command at http://meta.wikimedia.org/wiki/Running_MediaWiki_on_Debian_GNU/Linux for setting the mysql root password mysqladmin -u root password xxxx should have quotes: mysqladmin -u root password 'xxxx' - Jim Van Zandt