当前位置:网站首页>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
边栏推荐
- 198. Looting - Dynamic Planning
- There are several levels of personal income tax
- Hard disk monitoring and analysis tool: smartctl
- In addition to the prickles that pierce your skin, there are poems and distant places that originally haunt you in plain life
- KINGS
- After the festival, a large number of people change careers. Is it still time to be 30? Listen to the experience of the past people
- Recent learning experience
- Real time split network (continuous update)
- Getting started with JDBC
- HOW TO WRITE A DAILY LAB NOTE?
猜你喜欢
Help change the socket position of PCB part
Mysql45 lecture learning notes (II)
我眼中真正优秀的CTO长啥样
235. The nearest common ancestor of the binary search tree [LCA template + same search path]
2022-2028 global marking ink industry research and trend analysis report
Caddy server agent
my. INI file not found
KINGS
平淡的生活里除了有扎破皮肤的刺,还有那些原本让你魂牵梦绕的诗与远方
Read the paper glodyne global topology preserving dynamic network embedding
随机推荐
2022-2028 global lithium battery copper foil industry research and trend analysis report
Xception for deeplab v3+ (including super detailed code comments and original drawing of the paper)
A green plug-in that allows you to stay focused, live and work hard
[Yu Yue education] world reference materials of Microbiology in Shanghai Jiaotong University
Torch learning notes (6) -- logistic regression model (self training)
shell 脚本中关于用户输入参数的处理
Suffix derivation based on query object fields
JS_ Array_ sort
Common PostgreSQL commands
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
High concurrency Architecture - separate databases and tables
MySQL duplicate check
[combinatorics] exponential generating function (proving that the exponential generating function solves the arrangement of multiple sets)
Typescript official website tutorial
198. Looting - Dynamic Planning
High concurrency Architecture - distributed search engine (ES)
Hard disk monitoring and analysis tool: smartctl
SQL custom collation
多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
ES7 - Optimization of promise