[mythtv-users] Is it safe to restart mysql with mythbackend running?

Brad DerManouelian myth at dermanouelian.com
Wed Dec 5 03:37:25 UTC 2007


On Dec 4, 2007, at 6:55 PM, Chris Isip wrote:

> I think my version of mysql has a memory leak.  I upgraded to 5.0.27  
> which should hopefully fix the problem.  Just in case it doesn't, I  
> will need to restart mysql every now and then.  I'd put it in a cron  
> job but I am not sure how this will affect the running mythtv.   
> There doesn't seem to be any immediate consequences.   I thought I'd  
> ask the question in the subject of this post.
>
> Thanks
> Chris

Check the state of your backend with mythshutdown so it only restarts  
mysql when the backend is idle to avoid any mess you might create by  
restarting while it's doing something.
Of course the real answer is to downgrade mysql to a known good one if  
the newer version has a problem. :)



More information about the mythtv-users mailing list