Log database
[root@mysqlmaster ~]# mysql -u root -p
Enter password:
或者
[root@mysqlmaster ~]# mysql -uroot -p123456
See what the library
mysql> show databases;
Create a database
mysql> create database test;
Into the test database
mysql> use test;
Delete the test database
mysql> drop database test;