https://bugzilla.wikimedia.org/show_bug.cgi?id=59657

       Web browser: ---
            Bug ID: 59657
           Summary: Failed: run MySQL on a different port
           Product: MediaWiki
           Version: 1.22.0
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: tobias.mu...@mbda-systems.de
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to