Nov
14
2012
Automate MySQL database & user creation
Continuing from the Apache virtualhost article, this is another script that automates the creation of a MySQL database and a user with all permissions to it.
Continuing from the Apache virtualhost article, this is another script that automates the creation of a MySQL database and a user with all permissions to it.
Virtual hosting is one of the most important things to happen in web hosting over the recent years. It allows a single IP to be associated with multiple websites. Though there are many panel solutions that offer virtual host management, it's nice to know what's going on and even better to actually be in control. The tradeoff is that small mistakes can cause all of your sites to go down until you fix them -- unless you automate.