From: George Johnson Date: February 20 2000 3:30am Subject: starting mysqld from an a bat file List-Archive: http://lists.mysql.com/win32/1603 Message-Id: <002801bf7b52$c6a99340$33391840@jdc.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01BF7B20.7A425280" ------=_NextPart_000_0025_01BF7B20.7A425280 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I've been trying to start mysqld from an application I wrote, wiring up = a "server start" button and a "server stop" button. Unfortunately, when = I call the bat file which calls the mysql program, and test it using = mysql from another window, it cannot connect to the database. It shows = that it is running, however. If I start the bat file from the command = line, it works just fine. I'm on a Windows 98 box running a java = application which just calls a bat file containing: cd c:\mysql\bin mysql-opt The "server stop" button works just fine; it calls: c:\mysql\bin\mysqladmin --user=3Duser -password=3Dpassword shutdown Any hints? Thanks, George Johnson gjohnson@stripped ------=_NextPart_000_0025_01BF7B20.7A425280--