操作流程:

释义:-h数据库地址  -u数据库用户名  -p数据库密码  指定编码导入–default-character-set=utf8

mysql -h127.0.0.1 -uroot -proot –default-character-set=utf8
切换到要导入的数据库:use test
导入命令:source f:\数据库.sql

错误原因:因为之前的数据库编码是utf8导出,那么此时得指定编码导入才不会出错。

来一张姿势正确后的反馈截图:

 

Download WordPress Themes
Premium WordPress Themes Download
Free Download WordPress Themes
Download WordPress Themes Free
free download udemy paid course
download mobile firmware
Download WordPress Themes Free
free online course

共有 0 条评论