I am a newbie looking to use Ruby to create a maintenance script for my
MySQL database server. There are several things I would need to do.
First and foremost, I would like to read in the folder names from the
MySQL data directory to an array then use this array to perform
specified maintenance and backup procedures on the databases.
Currently, I read from a flat text file that needs to be updated every
time a db is added or removed from the server. I would like to
eliminate this tedious task.
Sorry for the simplistic question. This is my first foray into a
scripting language. The limit of my knowledge comes from a couple of
Thank you in advance!