mysql> use db1;
Database changed
#导入数据库(使用source关键字)
mysql> source e://db_bak.sql
7.创建用户及删除用户
#添加用户
CREATE USER ‘scott‘@‘localhost‘ IDENTIFIED BY
‘tiger‘;
#删除用户
DROP USER ‘scott‘@‘localhost‘;
MYSQL常用操作命令
标签:命令 word ase pass 删除数据库 alter ora query cmd