setting up schema for a new db in mysql code example Example: create database if not exists CREATE DATABASE [IF NOT EXISTS] database_name;