One possible reason for the failure to connect database dataGrip [08001] of

 

  I use a mac system, and because the older models, the capacity is not high, to reduce the load on the system is not set at startup MYSQL service. This leads me after a restart, re-open the service, and then appeared dataGrip not connect to database:

  

 

 

  Find the appropriate information on the Internet:

    Some of said time zones may be caused zone needs to be added after the URL, as serverTimezone = UTC;

    Also said that version of the problem, need to change the version of Driver

    Both methods are tried, but still the same error message;

 

  I think also installed on the computer Navicat, so I use Navicat to test, even to connect, it surprised me:

    

 

     

    So I opened my database using Navicat, pop up a dialog box that prompts password expired; Please set a new password, and in the dialog box to reset the password, then forget Screenshot

    Then I use dataGrip connect to the database will be able to connect to the;

    

 

     

   The problem took several hours to find information, and none are mentioned password expiration leads, and given prompt dataGrip are too vague, is really a sad story!

    

Guess you like

Origin www.cnblogs.com/hhyf/p/11442025.html