add database mysql using cmd and add sql code example Example: create database terminal mysql CREATE DATABASE dbname;