1.解决问题(如果发生如下问题,先解决问题)
Access denied for user ‘root’@’localhost’ (using password:YES)
在文件的最后添加一行“skip-grant-tables”
进入系统
net stop mysql
net start mysql
2.导入数据
进入系统
mysql -u root -p
方法1
use abc;
set names utf8;(不是必须)
source /home/abc/abc.sql;
方法2
mysql -uabc_f -p abc < abc.sql
1万+

被折叠的 条评论
为什么被折叠?



