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