how to create an sql database in terminal code example Example: create database terminal mysql CREATE DATABASE dbname;