how to create mysql database in linux command code example Example: create database terminal mysql CREATE DATABASE dbname;