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