What you do when you're fed up with a script? Right, you write your own.
You'll have to excuse me for the long shell script you'll find here below, but I'm not going to bother putting it on some download website.
It's a shell script which starts and stops the MySQL server. Indeed, a replacement for the init.d script found in the MySQL distributions. I'm using it personally on my Macs and it's not supported in any way.
But why? Well, I'm playing with MySQL Workbench, Server Administration. The MySQL init.d script didn't work right away (oh, various reasons for that), so I used mine. So I figured it might be useful for others and it's not complicated or shocking-new-stuff.
If you want to use it, you'll have to edit the 2 variables at the top. It's only …[Read more]