how to create a new database in mysql in terminal code example Example: create database terminal mysql CREATE DATABASE dbname;