• Advertisement
Sign in to follow this  

MySQL Process Shutdown Priority

This topic is 2928 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What is the shutdown priority for MySQL's server process on Windows? I setup one of my game servers as a service, but I need to ensure that it has a higher shutdown priority than MySQL, otherwise character data could become lost when the computer is restarted. I have not found any tools that allow me to view the current shutdown priority of a process. I asked in the #mysql channel on Freenode, but no on in there knew the answer.

Share this post


Link to post
Share on other sites
Advertisement
Why not just set your gameserver as having the highest possible shutdown priority? If no other service depends on your game server then this would seem a reasonable decision.

Share this post


Link to post
Share on other sites
Because I don't know if the MySQL server is also at that priority. Unlikely, yes, but possible.

I am currently looking into the possibility of having the game server start the MySQL server if it is down. I don't know if the OS will allow me to do this while it is shutting down though...

Edit: I have decided that getting this to work well will take too long, so the server won't be running as a service. I may come back to this at some point in the future.

[Edited by - VBStrider on February 17, 2010 11:13:45 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement