General questions about Linux, MySQL, and how they relate to IIS and MSSQL
Recently I switched jobs from a Windows environment to a Linux environment. The MySQL server works great 99% of the time, but occasionally has lag. On MSSQL I can recycle the application pool to give it a jump-start and everything works fine. So far I haven't been able to find something similar with MySQL. I know there has to be something like this because restarting the service every couple days probably isn't the best idea but it's all I have right now.
Any ideas?
Currently I connect to the db server through command line and tell the os this:
/etc/init.d/mysqld restart
Something else that's command-line would be great as I could script it and just run it when needed. Thanks for the time it took to read this!
|