updated mysql script to create db