Load a mysql database to a local database.