python mysql.connnector 使用过程出现错误。还是先使用mysqlclient
python mysql connector Character set 'utf8' unsupported
This commit is contained in:
parent
27a9c9cef0
commit
7c06dab3cb
|
|
@ -115,7 +115,7 @@ pip3 install gevent-websocket==0.10.1
|
|||
pip3 install flask-caching==1.10.1
|
||||
pip3 install flask-session==0.3.2
|
||||
pip3 install flask-socketio==5.2.0
|
||||
# pip3 install mysqlclient
|
||||
pip3 install mysqlclient
|
||||
|
||||
|
||||
if [ ! -f /www/server/mdserver-web/bin/activate ];then
|
||||
|
|
@ -133,5 +133,5 @@ pip3 install gevent-websocket==0.10.1
|
|||
pip3 install flask-caching==1.10.1
|
||||
pip3 install flask-session==0.3.2
|
||||
pip3 install flask-socketio==5.2.0
|
||||
# pip3 install mysqlclient
|
||||
pip3 install mysqlclient
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue