Last modified: 2014-01-05 01:09:48 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 T61657, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59657 - Failed: run MySQL on a different port
Failed: run MySQL on a different port
Status: RESOLVED DUPLICATE of bug 58153
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.22.0
All Linux
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-04 21:30 UTC by Tobias
Modified: 2014-01-05 01:09 UTC (History)
1 user (show)

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


Attachments

Description Tobias 2014-01-04 21:30:24 UTC
Hi everybody,

sorry I'm a little bit frustrated after the today's evening. I tried to install MediaWiki 1.22.0. I succeeded with the installation for many other version before. But this time I failed. Here is how it went: the installer did not accept that I run my MySQL database on a different port. I'm quite sure that former versions of MediaWiki did.

The error was: DB connection error: Unknown MySQL server host 'fqdn:3027' (2) (fqdn:3027). Check the host, username and password and try again.

First of all I thought that the problem are missing privileges in the MySQL database but I could connect fine with MySQL command line utility. For the installation my workaround was to use the default port. It just went fine as expected. After the installation I tried again to change the port number but with no success. MediaWiki was not able to connect to the database.

I was able to reproduce the issue on another Linux system at home. The installation of MediaWiki 1.22.0 fails / can not connect to db as soon as you provide a port number. At home I tried also to use the default port but specified it explicitly e. g. localhost:3306 and 127.0.0.1:3306.

With Mediawiki 1.21.3 specifying a port number is possible. Looks like something changed in the way the connection to the database is made.

I'll try to find a fix but I'm not a PHP developer. Any help appreciated.

Link to mail on mailing list: http://lists.wikimedia.org/pipermail/mediawiki-l/2014-January/042341.html

If I could support the bug fixing e. g. by testing don't mind to ask.

Thank you very much!

Best regards,

Tobias
Comment 1 Kevin Israel (PleaseStand) 2014-01-05 01:09:48 UTC

*** This bug has been marked as a duplicate of bug 58153 ***

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


Navigation
Links