mysql 命令行

mysql 开启 root 远程访问

grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
flush privileges;

mysql 导入sql文件

source d:/dbname.sql 

 

posted @ 2018-09-07 15:00  zhw15  阅读(76)  评论(0编辑  收藏  举报