How can DataGrip connect to mysql without password
Answered
I have installed an mysql server instance, the root user without password, when I connect to mysql server my shell, the command is
```
mysql -uroot
```
It's work fine.
But when I use DataGrip, in the General Tab, set Host:localhost, Port:3306, User:root, and leave Password is blank. however, when I click the button 'Test Connection', it's pop up a dialog "The specified database user/password combination is rejected: [28000][1045] Access denied for user 'root'@'localhost' (using password: YES)" ask me Password!
So, How to connect to mysql without password?
Please sign in to leave a comment.
When you connect with your tool, not datagrip you're using socket. https://dev.mysql.com/doc/refman/5.5/en/connecting.html
So, it's not the same.