Re: set up mysql without winmysqladmin?
| From: | Cam Dunstan | Date: | Fri, 15 Nov 2002 22:39:11 +0000 |
| Subject: | Re: set up mysql without winmysqladmin? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16977@lists.php.net to get a copy of this message | ||
A.J.
A.J.
Dash
s solution says it all - you certainly dont 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" <dash.php@westonefcu.org>
To: "'A. J. McLean'" <x@americanmotorcycle.com>
Cc: <php-windows@lists.php.net>
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: php-windows@lists.php.net
> 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
>
>