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