mysql operation under centos

show database; show database list

use database name; determine to use a database;

show tables; displays all the tables in the current database

Give users maximum permissions

grant all privileges on *. * to 'username' @ '%' idetified by 'password'

Guess you like

Origin www.cnblogs.com/socks/p/12711783.html