To kill off a process, try -15 then -9.Įach numeric argument corresponds to a different signal. Surely have mentioned how to start & stop the server properly.ĭoing a kill -5, -6, -7, -8, before resorting to -9 is nonsense. Poster already said it and, moreover, your mysql documentation should I knew mysql better I'd quote the command & syntax myself, but the other The mysql distribution should have included a shutdown script. Of course, as another poster noted, this isn't the right way to do itĪnyhow. It should work by the time you get to -9, but hopefully sooner. If you're within 5 minutes of first trying `sudo`.] [note that you won't be asked for the password again, "let it die gracefully" commands to riskier "alright just shut down NOW" `kill`ing again with numbers increasing from 5 to 9 (shifting from safer That last line is a test to make sure it worked. That other users account where it is all too easy to make a mess of things.īetter by far here would be to find & kill the process in question this way: It allows you to run a commandĪs another user (such as of course the root account), and you're not left in In most cases, `sudo` is a far safer tactic. It's not by accident that Apple locked it out by default, and that decision Having access to the root account is a sharp & powerful double-edged sword.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |