Last modified: 2010-05-15 15:33:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6887, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4887 - password-sensitive config script
password-sensitive config script
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.4.x
Other Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://bugs.debian.org/cgi-bin/bugrep...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-06 00:58 UTC by Romain Beauxis
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Romain Beauxis 2006-02-06 00:58: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
Comment 1 Brion Vibber 2006-02-06 06:17:51 UTC
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?
Comment 2 Hendrik Brummermann 2006-02-06 06:20:37 UTC
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



Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links