Help needed! MySqlInstanceConfig.exe references to a non-existent mysqld-nt.exe
Posted by: Denis Esteban
Date: September 18, 2012 01:17PM

HI everybody. I am trying to make a batch file .bat to configure MySql 5.1.54 in Windwos 7.
This is the command:

c:\mysql>MySQLInstanceConfig.exe -i -q "-lC:\mysql\install_log.txt" "-nMySQL Server 5.1" "-pC:\mysql\Install" -v5.1 "-tC:\mysql\install\my-small.ini" "-cC:\mysql\mytest.ini" ServerType=DEVELOPMENT DatabaseType=MIXED ConnectionUsage=DSS Port=3306 ServiceName=MYSQLCust RootPassword=fernando AddBinToPath=yes

But, the service doesn´t star because the command file (when seen in the service properties in the service administration window of Windows 7) is the following:
"C:\mysql\Install\bin\mysqld-nt" --defaults-file="C:\mysql\mytest.ini" MYSQLCust
The log file shows exactly the same:

Parameters: "C:\mysql\Install\bin\mysqld-nt" --defaults-file="C:\mysql\mytest.ini" MYSQLCust
Cannot create Windows service for MYSQLCust. Error: 0

But, the mysqld-nt.exe is not in the bin folder of MySql 5.1.54 because it was removed since 5.1. So, it obviously won´t run, because the file to be referenced to is mysqld.exe instead of mysqld-nt.exe.
How can I make the MySqlInstallConfig.exe references to mysqld.exe and not mysqld-nt.exe when creating the service? I think it is a bug, because the very developers removed the mysqld-nt program. In fact, I found it was a bug in 5.0 solved in 5.1, but in my case it is not solved. The strange fact is that if I open visually the mysqlinstallconfig.exe and use its windows to configure mysql server, it works.
I have tried with the mysqlinstallconfig.exe of the versions 5.1 and 5.5, 32 and 64 bits, and it is the same, nothing changes.
Thanks in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
Help needed! MySqlInstanceConfig.exe references to a non-existent mysqld-nt.exe
3137
September 18, 2012 01:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.