use schema.sql to create database mysql code example Example: create database if not exists CREATE DATABASE [IF NOT EXISTS] database_name;