django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).

使用mysql数据库,或者进行更新sqlite版本为最新的
参考 https://www.cnblogs.com/wishwzp/p/7113403.html
继续报错
The GPG keys listed for the “MySQL 5.7 Community Server” repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.

参考 https://www.cnblogs.com/volun/p/15824751.html
rpm –import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
密码无法找到
https://blog.csdn.net/weixin_34318272/article/details/94277529?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_antiscanv2&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_antiscanv2&utm_relevant_index=1
密码重置
https://www.cnblogs.com/wangbaobao/p/7087032.html

pip install myclient 安装出错
参考
https://blog.csdn.net/h106140873/article/details/100889576

使用mysql8出现的错误 settings设置

WARNINGS:
?: (mysql.W002) MySQL Strict Mode is not set for database connection ‘default’
HINT: MySQL’s Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'gx_day16',
        'USER': 'root',
        'PASSWORD': '******',
        'HOST': '127.0.0.1',
        'PORT': 3306,
        'OPTIONS': {

            'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
                    }
    },

}

Original: https://blog.csdn.net/weixin_45631815/article/details/123730093
Author: 金融小白数据分析之路
Title: django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/815340/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球