From: Glen de Vries Date: March 18 1999 2:28pm Subject: Re: Service fails to start List-Archive: http://lists.mysql.com/win32/23 Message-Id: <003c01be714b$873b9f30$2ace0acf@gdevws.oceantek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Thanks, Monty. Adding [mysqld] basedir=C:/mysql/ to c:\my.cnf fixed the problem. The service now starts without any trouble (for both mysqld and mysqld-nt). -Glen -----Original Message----- From: Christian Mack To: monty@stripped Cc: Glen de Vries ; win32@stripped Date: Thursday, March 18, 1999 7:48 AM Subject: Re: Service fails to start >Michael Widenius wrote: >> >> >>>>> "Glen" == Glen de Vries writes: >> >> Glen> Monty, >> Glen> In response to your inquiries for our difficulty in starting mysql as a >> Glen> service... >> >> >> Which MySQL version ? >> >> Glen> 3.22.20 >> >> >> Did you run 'mysqld-nt --install' ? >> >> Glen> Yes, and I checked the registry. I have the same problem with mysqld-nt and >> Glen> mysqld >> >> >> If you are using the registered version, try using 'mysqld' instead of >> >> mysqld-nt with a C:\my.cnf file that has the following entry: >> >> >> >> [mysqld] >> >> debug >> >> Glen> I did a mysqld-nt --remove, then mysqld --install, then started it as a >> Glen> service with the my.cnf. Here's what I got in the trace: >> >> >> >> Glen> T@1 : | | >my_open >> Glen> T@1 : | | | my: Name: '\my\share\english\errmsg.sys' Flags: 36864 >> Glen> MyFlags: 0 >> Glen> T@1 : | | | error: Got error 2 on open >> Glen> T@1 : | | > >> >> >> The problem is that somehow MySQL doesn't find the path to mysqld! >> This works for me on my NT SP3 machine :( >> >> Do you have a C:\my.cnf file ? >> >> You can problaby solve the above with any of the following solutions: >> >> - Install mysqld with full path: >> C:\mysql\bin\mysqld-nt --install >> >> - Create a my.cnf file with the following information: >> >> [mysqld] >> basedir=C:/mysql/ >> >> I shall add more information to mysqld trace log to find out exactly >> what is going on if this happens for someone else.! >> >> Regards, >> Monty > >Hi Monty > >Just tried it and --install doesn't work for me too. >I always get an error window 'mysql' with 'Failed to install Service'. >--standalone works as expected. > >Win NT4.0 SP4 workstation, mysqlwin-3_22_20 > >Tschau >Christian >