Fixed Bug with init_db failing on mysql database