Added the ability to specify a MySQL datadir.