http://bugs.winehq.org/show_bug.cgi?id=15770
Summary: MySQL 5.1 service fails to start Product: Wine Version: unspecified Platform: Other URL: http://dev.mysql.com OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: winehacker@gmail.com
The install of MySQL 5.1 development version seems to go perfectly until creating and starting the service. Configured with either named pipes or a TCP/IP connection with a port above 10,000 and neither will properly install.
http://bugs.winehq.org/show_bug.cgi?id=15770
--- Comment #1 from Steven Edwards winehacker@gmail.com 2008-10-25 12:04:28 --- Created an attachment (id=16869) --> (http://bugs.winehq.org/attachment.cgi?id=16869) mysql service install log with tcp/ip
http://bugs.winehq.org/show_bug.cgi?id=15770
--- Comment #2 from Steven Edwards winehacker@gmail.com 2008-10-25 12:06:56 --- Created an attachment (id=16870) --> (http://bugs.winehq.org/attachment.cgi?id=16870) mysql service install log with named pipes
http://bugs.winehq.org/show_bug.cgi?id=15770
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16870|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15770
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16869|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15770
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=15770
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
--- Comment #3 from Austin English austinenglish@gmail.com 2010-06-27 19:38:18 --- http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.47-win32.msi sha1: 4e84e3e4c4cd86d2e7a1bc18bc93df5957bf027d
If you tell the installer not to run as a service, it finishes successfully.
http://bugs.winehq.org/show_bug.cgi?id=15770
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Austin English austinenglish@gmail.com 2010-06-27 19:38:34 --- Confirming in 1.2-rc5.
http://bugs.winehq.org/show_bug.cgi?id=15770
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #5 from Jerome Leclanche adys.wh@gmail.com 2011-11-02 14:55:38 CDT --- Dupe of bug 13638?
http://bugs.winehq.org/show_bug.cgi?id=15770
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|advapi32 |tools Version|unspecified |1.1.7 Summary|MySQL 5.1 service fails to |MySQL 5.1 service fails to |start |start due to missing | |HKEY_LOCAL_MACHINE\SYSTEM\C | |urrentControlSet\Services\T | |CPIP\Parameters registry | |subkey Severity|enhancement |normal
--- Comment #6 from Anastasius Focht focht@gmx.net 2012-01-10 16:06:09 CST --- Hello,
confirming, still present. The culprit are some registry keys that are checked by the mysql service to determine if TCPIP is applicable:
--- snip --- ... 0027:Call advapi32.RegOpenKeyExA(80000002,00c1d5a0 "SYSTEM\CurrentControlSet\Services\Tcpip\Parameters",00000000,00020019,0117e610) ret=008d9cb9 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=008d9cb9 0027:Call advapi32.RegOpenKeyExA(80000002,00c1d5d4 "SYSTEM\CurrentControlSet\Services\Winsock2\Parameters",00000000,00020019,0117e610) ret=008d9ce1 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=008d9ce1 0027:Call advapi32.RegOpenKeyExA(80000002,00c1d60c "SYSTEM\CurrentControlSet\Services\Winsock\Parameters",00000000,00020019,0117e610) ret=008d9d09 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=008d9d09 ... --- snip ---
At least one of these keys needs to be present. The service will successfully start in TCPIP mode and bind to desired port.
To verify: create a clean WINEPREFIX and execute:
--- snip --- $ wine reg add "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters" --- snip ---
This allows the (post)installer to start and configure the service properly.
Creating Tcpip service "Parameters" key by default through "wine.inf" without having a real service shouldn't do any harm (will be skipped by service control manager).
$ sha1sum mysql-5.1.47-win32.msi 4e84e3e4c4cd86d2e7a1bc18bc93df5957bf027d mysql-5.1.47-win32.msi
$ wine --version wine-1.3.36-269-g662f3ab2
Regards
http://bugs.winehq.org/show_bug.cgi?id=15770
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |11343
http://bugs.winehq.org/show_bug.cgi?id=15770
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a2219b9c841a7002d1528c613a7 | |bc4439f14a509 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Austin English austinenglish@gmail.com 2012-01-11 13:44:35 CST --- http://source.winehq.org/git/wine.git/commitdiff/a2219b9c841a7002d1528c613a7...
http://bugs.winehq.org/show_bug.cgi?id=15770
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-01-13 13:50:25 CST --- Closing bugs fixed in 1.3.37.
http://bugs.winehq.org/show_bug.cgi?id=15770
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux