select database mysql syntax code example
Example 1: mysql go into database
USE dbname;
Example 2: how to create database using cmd mysql
CREATE DATABASE [IF NOT EXISTS] database_name
[CHARACTER SET charset_name]
[COLLATE collation_name]
USE dbname;
CREATE DATABASE [IF NOT EXISTS] database_name
[CHARACTER SET charset_name]
[COLLATE collation_name]