Create a database:
create databases customer;
Show database:
show create database customer;
Delete the database:
drop database zjj;
Running effect display:
Show all databases:
show databases;
Modify the database character set to gbk MYSQL command:
alter database customer character set gbk;
Switch to the database of your choice:
use customer;
View the contents of the currently selected database:
select database();
Running effect display: