MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 13th, 2012, 12:43 PM
butifarra butifarra is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 2 butifarra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 42 sec
Reputation Power: 0
MySqlInstanceConfig.exe refers to a non-existent mysqld-nt.exe

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.
Thanks in advance.

Reply With Quote
  #2  
Old October 3rd, 2012, 09:12 AM
NEALFLORA NEALFLORA is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 1 NEALFLORA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 5 sec
Reputation Power: 0
MySqlInstanceConfig.exe refers to a non-existent mysqld-nt.exe

You likely have two version of MySQL on your machine and the MYSQLINSTANCECONFG.EXE that gets called is on the older version. Had the same issue and corrected my Batch file to specifically use "C:/Program Files/MySQL/MySql Server 5.5\MySQLInstanceConfig.exe". This cured the problem.

Reply With Quote
  #3  
Old October 3rd, 2012, 09:56 AM
butifarra butifarra is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 2 butifarra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 42 sec
Reputation Power: 0
Quote:
Originally Posted by NEALFLORA
You likely have two version of MySQL on your machine and the MYSQLINSTANCECONFG.EXE that gets called is on the older version. Had the same issue and corrected my Batch file to specifically use "C:/Program Files/MySQL/MySql Server 5.5\MySQLInstanceConfig.exe". This cured the problem.


Thanks for your reply.
No, I use the new, the lattest version, of MysqlInstanceConfig.exe. I make sure of that.
Regards.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > MySqlInstanceConfig.exe refers to a non-existent mysqld-nt.exe

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap