摘要:
1. 设置maxpacket。要在[mysqld]标签下。这个疏忽了,就会发现没效果。基本网上的都没说清,要看stackoverflow。Change in the my.ini file. Include the single line under [mysqld] in your filemax_allowed_packet=500M2. 在命令行,登陆mysql,制定encodingmysql -uroot -P3308 -p123456 - -default-character-set=utf83. 进入数据库,运行source打入。source E:ydj\test.sql 阅读全文