Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

538
Views
Datagrip IDE Fails to connect to MySQL with CLIENT_PLUGIN_AUTH is required

I'm trying to connect to a local MySQL database on my machine with the Datagrip IDE from jetbrains.

When I connect I get this error:

[08001] CLIENT_PLUGIN_AUTH is required
com.mysql.cj.exceptions.UnableToConnectException: CLIENT_PLUGIN_AUTH is required.

I can log in locally on the command line without a problem:

mysql -u root -p -h localhost
Enter password: ***************
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 5.1.73-community-log MySQL Community Server (GPL)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

I can also connect to my postgres database DB just fine using Datagrip. It's only when I connect to MySQL that I get the error.

How do I solve this?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You should choose the right version of the driver to connect to mysql. For instance, if you have MySQL server at version 5.x with x <=1, you'd use mysql driver version 5.1. You have 5.1.73! Simply, in DataGrip, open the properties of the database connection and click on "driver" link. Then choose mysql driver v5.1. Let it download and install and it should work.

over 4 years ago · Santiago Trujillo Report

0

I had to select the MariaDB connection type in Datagrip. Then I could connect to my database. I must have installed MariaDB instead of MySQL.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!