create database in mysql command line client code example Example: create database terminal mysql CREATE DATABASE dbname;