摘要:
问题一: django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3 该问题不是mysqlclient版本低导致的,查看最新的mysql版本就是 0.9.3 阅读全文
摘要:
问题:django.db.utils.InternalError: (1049, "Unknown database 'main'") 在Django 配置的数据库上 执行 create database main 创建 main 数据库 问题:AttributeError: 'str' objec 阅读全文
摘要:
最近在服务器上部署好的应用突然间连接不上mysql数据库,报错“ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server” 那么直接运行如下命令: 弹出Enter password:输入您的数据库密 阅读全文