create database from command prompt code example Example: create database terminal mysql CREATE DATABASE dbname;