当前位置:网站首页>Django running error: error loading mysqldb module solution
Django running error: error loading mysqldb module solution
2022-07-06 11:08:00 【As。】
The error information is as follows :
resolvent :
Under the project __init__.py Add the following code to the file ( Mainly project project !!! It's not an application )
import pymysql
pymysql.install_as_MySQLdb()
After adding successfully, you can run successfully , Good luck ~
边栏推荐
- CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
- csdn-Markdown编辑器
- QT creator specify editor settings
- [BMZCTF-pwn] 11-pwn111111
- CSDN问答标签技能树(一) —— 基本框架的构建
- Ansible实战系列三 _ task常用命令
- 学习问题1:127.0.0.1拒绝了我们的访问
- CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
- Breadth first search rotten orange
- C语言标准的发展
猜你喜欢
图片上色项目 —— Deoldify
Swagger, Yapi interface management service_ SE
[recommended by bloggers] C WinForm regularly sends email (with source code)
La table d'exportation Navicat génère un fichier PDM
Use dapr to shorten software development cycle and improve production efficiency
解决:log4j:WARN Please initialize the log4j system properly.
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application
QT creator specifies dependencies
Generate PDM file from Navicat export table
A trip to Macao - > see the world from a non line city to Macao
随机推荐
Asp access Shaoxing tourism graduation design website
连接MySQL数据库出现错误:2059 - authentication plugin ‘caching_sha2_password‘的解决方法
Generate PDM file from Navicat export table
Swagger, Yapi interface management service_ SE
[recommended by bloggers] background management system of SSM framework (with source code)
Summary of numpy installation problems
Use dapr to shorten software development cycle and improve production efficiency
Copie maître - esclave MySQL, séparation lecture - écriture
SSM整合笔记通俗易懂版
MySQL的一些随笔记录
基于apache-jena的知识问答
[free setup] asp Net online course selection system design and Implementation (source code +lunwen)
Windows下安装MongDB教程、Redis教程
Swagger、Yapi接口管理服务_SE
PyCharm中无法调用numpy,报错ModuleNotFoundError: No module named ‘numpy‘
The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
Ansible实战系列三 _ task常用命令
[BMZCTF-pwn] 11-pwn111111
【博主推荐】C# Winform定时发送邮箱(附源码)
Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly