create database console mysql code example Example: create database terminal mysql CREATE DATABASE dbname;