A.J.

A.J.
Dash`s solution says it all - you certainly don`t need Winmysqladmin to
start and stop mySQL - I just have a couple of shortcuts to batch files to
start and stop apache and mysql on the desktop.  You don`t need the "start"
command in fact though it does no harm.

stop mySQL with ....

cd C:\mysql\bin
mysqladmin shutdown

(in a batch file or at the command prompt)



----- Original Message -----
From: "Dash McElroy" <[EMAIL PROTECTED]>
To: "'A. J. McLean'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, November 16, 2002 4:11 AM
Subject: RE: [PHP-WIN] set up mysql without winmysqladmin?


> Make yourself a simple batch script:
>
> amp.bat:
> @echo off
> start c:\path\to\apache\apache.exe
> c:\path\to\mysql\bin\mysqld.exe --console
> echo Press ^C to stop stuff
> pause>NUL
> c:\path\to\apache\apache.exe -k stop
>
> or something (I'm guessing on the mysqld option). The start command may be
> particularly of service here. Open up a command prompt, type in 'start /?'
> to see all it can do (start /wait can be a handy option...)
>
> The above batch script is totally untested and may need a fair amount of
> tweaking, but it just might do what you want.
>
> -Dash
>
> -----Original Message-----
> From: A. J. McLean [mailto:x@;americanmotorcycle.com]
> Sent: Thursday, November 14, 2002 6:11 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] set up mysql without winmysqladmin?
>
>
> Is it possible to configure mysql to load up automatically whenever apache
> is run (without having to load up winmysqladmin in the systray)?
>
> Thanks!!
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to