[ubuntu-us-mi] How to shut down MySQL on Ubuntu Lucid 10.04?

Robert Citek robert.citek at gmail.com
Thu Dec 16 17:15:58 GMT 2010


On Thu, Dec 16, 2010 at 11:37 AM, Craig Maloney <craig at decafbad.net> wrote:
> On Thu, 2010-12-16 at 11:26 -0500, Robert Citek wrote:
>> How does one gracefully shut down MySQL on Ubuntu Lucid 10.04?
>>
>
> Best way is to use the service command:
>
> sudo service mysql stop

That's the problem.  The "best" way corrupts the tables.  Even setting
the kill timeout to 300 doesn't change the default behaviour of
sending a KILL signal after 5 seconds:

$ grep timeout /etc/init/mysql.conf
kill timeout 300



More information about the ubuntu-us-mi mailing list