Buat database jika tidak ada
CREATE DATABASE IF NOT EXISTS my_db;
SAMER SAEID
CREATE DATABASE IF NOT EXISTS my_db;
write create database "the database name you want" then semi colon. Then the new database can be created.
Example: create database sushine;
you write the name of databse you want instead of sunshine
to use database write as i said bellow
use database sunshine;