List:General Discussion« Previous MessageNext Message »
From:Ken Menzel Date:July 17 2001 6:12pm
Subject:Re: Shutting down Mysql
View as plain text  
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" <chris@stripped>
To: <mysql@stripped>
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: chris@stripped  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 <mysql-thread79820@stripped>
> To unsubscribe, e-mail
<mysql-unsubscribe-kenm=icarz.com@stripped>
> Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
>
>

Thread
help connection erroemartinkuria17 Jul
  • Shutting down MysqlChris Aitken17 Jul
    • Re: Shutting down MysqlKen Menzel17 Jul
    • RE: Shutting down MysqlDon Read17 Jul