MySQL数据库基本命令十六
1、导入数据库:source D:\数据库.sql

2、授权:grant all on *(数据库).*(表) to 用户名@localhost identified by ‘密码’;

3、进入授权用户:mysql -h localhost -u 用户名 -p

4、其他用户授权:grant all on *.* to 用户名@localhost identified by ‘密码’with grant option;

5、撤销用户权限:revoke all on *.* from 用户名@localhost;

6、删除用户:droop user 用户名@localhost;
