首页 > 代码库 > Django (2019, “Can’t initialize character set utf8mb4 (path: /usr/share/mysql/charsets/)”) 错误解决方案

Django (2019, “Can’t initialize character set utf8mb4 (path: /usr/share/mysql/charsets/)”) 错误解决方案

 

卸载mysql-python,改为安装 mysqlclient 最新版, windows下安装则 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient 下载,然后就支持了

 

 

 

 

参考资料:

1、http://blog.csdn.net/wzqnls/article/details/53412635

Django (2019, “Can’t initialize character set utf8mb4 (path: /usr/share/mysql/charsets/)”) 错误解决方案