当前位置:网站首页>Record: pymysql is used in pycharm to connect to the database
Record: pymysql is used in pycharm to connect to the database
2022-07-03 18:48:00 【Randle】
problem
1. stay pycharm Connect to database , It's using pymysql, Version as follows , The problem is writing sql Statement cannot update the database 
Problem solving
1. After solving the time zone problem, it's simpler , Directly in pycharm Add mysql, The specific steps are as follows :
open database bar , Will appear on the right 
Click to open the corresponding interface 
Click on the plus sign , Add a database connection , Choose the database you need to add , What I use here is mysql
Then the following interface will appear , Just click download You can download the corresponding driver directly , We can see that Driver The version is 5.1, You can change , But not many choices are given , What I choose directly is MySQL And then download it directly


Fill in your own information in the corresponding column , And then click OK, If not sure , You can also click Test Connection To test 
After success, the little dolphin will have a bright spot 
Then write in PyCharm There will be no error in the code written in 
边栏推荐
- What is SQL get connection
- User identity used by startup script and login script in group policy
- 2022-2028 global aircraft head up display (HUD) industry research and trend analysis report
- After nohup NPM start &, close the shell window directly, and the process closes accordingly
- 达梦数据库的物理备份和还原简解
- In addition to the prickles that pierce your skin, there are poems and distant places that originally haunt you in plain life
- Processing of user input parameters in shell script
- Pytorch introduction to deep learning practice notes 13- advanced chapter of cyclic neural network - Classification
- VLAN experiment
- Raft 日志复制
猜你喜欢

VLAN experiment

How many convolution methods does deep learning have? (including drawings)

How does GCN use large convolution instead of small convolution? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)

Integrated easy to pay secondary domain name distribution system

The installation path cannot be selected when installing MySQL 8.0.23

我眼中真正优秀的CTO长啥样

Unity webgl optimization
![leetcode:556. Next larger element III [simulation + change as little as possible]](/img/a0/12e5ee5d01d666acb4b75ada2e6fec.png)
leetcode:556. Next larger element III [simulation + change as little as possible]

Okaleido, a multimedia NFT aggregation platform, is about to go online, and a new NFT era may come

FBI warning: some people use AI to disguise themselves as others for remote interview
随机推荐
What problems can cross-border e-commerce sellers solve with multi platform ERP management system
Sepconv (separable revolution) code recurrence
Smart wax therapy machine based on STM32 and smart cloud
Work Measurement - 1
Why can deeplab v3+ be a God? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
High concurrency Architecture - separate databases and tables
Add control at the top of compose lazycolumn
How does GCN use large convolution instead of small convolution? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
199. Right view of binary tree - breadth search
ES7 - Optimization of promise
2022-2028 global physiotherapy clinic industry research and trend analysis report
Boost.Asio Library
TypeScript 官网教程
How can I avoid "div/0!" Errors in Google Docs spreadsheet- How do I avoid the '#DIV/0!' error in Google docs spreadsheet?
FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
[Yu Yue education] world reference materials of Microbiology in Shanghai Jiaotong University
There are several levels of personal income tax
What is the function of registering DLLs- What does registering a DLL do?
How to quickly view the inheritance methods of existing models in torchvision?
High concurrency architecture cache