get into database mysql code example Example 1: create database terminal mysql CREATE DATABASE dbname; Example 2: mysql go into database USE dbname;