mysql常用命令行工具

登陆mysql

mysql -u root -p

 导入数据库

mysql -u root -p

mysql > source /path/file.sql

创建新用户

grant select,insert,update,delete on www_yygo.* to yygo16 identified by "123456";