create mysql and models