在PyCharm中使用MySQL

import pymysql pymysql.install_as_MySQLdb() 执行python manage.py makemigrations时报错: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 于是放弃使用pymysql这个包,直接用mysqlclient算了,那么安装mysqlclient 。 使用命令:pip
相关文章
相关标签/搜索