Mysql database link processing idea and the related issues of small

1. First find the installation directory of your database

For example to Mysql

2. Copy the installation path, find the environment variable, add the path to the MySQL installation

3. Locate the database tool window View → Tool Windows → Database → Data Source → Mysql in the idea of

Fill in the host name database connections, database name, user name and password

Here is your mysql database has been created users and passwords, I wrote a related query methods previously unclear: https://blog.csdn.net/qq_40662239/article/details/90521588

Need to download the relevant documents, then there will be prompt, you can click on download

Test then you can;

! ! ! 1. Note: This place may appear an error:

The specified user/password combination is rejected:

[HY000][1862] Your password has expired.
To log in you must change it using a client that supports expired passwords.

Because:

MySQL 5.7.16 introduces password-expiration capability, to enable database administrators to expire account passwords and require users to reset their password.

So we just need to re-modify the password at
2. The report 08001 wrong solution

dbc: mysql: // localhost:? 3306 / database name useSSL = false & serverTimezone = ShangHai & characterEncoding = utf-8 & autoReconnect = true

Timezone = ShangHai is a zone can be modified according to its own

 

 

 

Published 21 original articles · won praise 7 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_40662239/article/details/103070890