Mysql database first generator