Error of pycharm link database and a set of connection time

How 1.pycharm direct connection to the database?

Role: This is the only way to manage the database, because the combination during development is good! Of course, there are many ways to have tools and database management.

  For example: navicat tool

1.1 How to find the entrance management database?

    Generally speaking immediately on the right, if not in accordance with the following method to find!

    Menu "view" >>> find "Tool Window bars" and elected (some versions may be different, but also in a few places) >>> see "Database" on the right side [this is integrated inside the pycharm a database management tool]

 

2. How to find the corresponding database

(Here in order to illustrate the MySQL database) look carefully map

 

 

3. After the election to the corresponding database, where each different

Enter the following figure ( Since my computer has a number of plug-ins installed the show here, with someone else's view of it, because there are similar )

  

 

2. Use pycharm to manage the database, errors collection appears

Error 1.  

 

2. Click the error test ( the Test Connection ) when the connection is not on the database

错误提示:Connection to my_test@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.

  

 

In fact, the path of what account passwords are not the problem!

Added to the database path: ? ServerTimezone = GMT

As shown below:

Guess you like

Origin www.cnblogs.com/mashangsir/p/11287953.html