1 数据库配置

[wampmysqld]

character-set-server=utf8
collation-server=utf8_unicode_ci

default-storage-engine=INNODB

2 参考文档

http://www.bubuko.com/infodetail-2721553.html

3 出错解决

https://blog.csdn.net/xingkongtianyuzhao/article/details/102977830

 

4 初始密码修改

https://www.jb51.net/article/163487.htm

mysql控制台输入

SHOW VARIABLES LIKE 'validate_password%';

https://blog.csdn.net/qq_39344689/article/details/89674079

 

https://blog.csdn.net/lihua5419/article/details/80394716?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2