create a database with mysql2 code example Example: create database terminal mysql CREATE DATABASE dbname;