Automating MySQL configuration with kickstart
- by Nimmy Lebby
I've been testing deployment for a website with some virtual servers. I have most of my deployment steps done via kickstart file (package installation and user creation). However, for MySQL I have to:
Run mysql_secure_installation (sets up root password, deletes anonymous users, disallows root login remotely, removes test databases)
./
Then, create the website's databases and the database user.
I'm not sure if this is possible in kickstart---especially the prompts in mysql_secure_installation. Perhaps someone has some suggestions or examples?