I would suggest that you have the define be a full PDO connection string, so people don't need to just use mysql. Sqlite would be a perfectly usable database in this case.