Hi Chris,
mysqladmin shutdown
This is the best way to shutdown the server.
As for startup if you have a startup script you could run that (Ie
/usr/local/etc/mysql/mysq-server.sh)' or just invoke safe_mysqld Ie
( /usr/local/bin/safe_mysqld --user=username& )
Ken
----- Original Message -----
From: "Chris Aitken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 9:43 PM
Subject: Shutting down Mysql
> Hi Guys,
>
> What im looking at doing is working out the best way to safely shut
down
> mysql so I can do a full backup of the system, then restart it back.
(im
> running on a FreeBSD box)
>
> I know I can kill the PID and other drastic measures but I dont want
to do
> anything that might corrupt the data.
>
> Which is the best method for stopping mysql and then restarting it ?
> mysqladmin shutdown ?
>
> and whats the best way to start it back up again
> just running the .sh file(s) from /usr/local/etc/rc.d ?
>
>
>
> Thanks
>
>
> Chris
>
>
>
>
> --
> Chris Aitken - Administration/Database Designer - IDEAL
Internet
> email: [EMAIL PROTECTED] phone: +61 2 4628 8888 fax: +61 2 4628
8890
> __-----------------------------------------__
> *** Big Brother ***
> It just shows that the dull will rule the world. And we will be
watching it.
>
>
> --------------------------------------------------------------------
-
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php