操作流程:

释义:-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 Best WordPress Themes Free Download
Free Download WordPress Themes
Download WordPress Themes Free
Free Download WordPress Themes
ZG93bmxvYWQgbHluZGEgY291cnNlIGZyZWU=
download huawei firmware
Download Best WordPress Themes Free Download
download udemy paid course for free

共有 0 条评论