Fixes MySQL connecting to no database.