prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
15.98k stars 5.36k forks source link

no password support for jdbc driver #12796

Open chanansh opened 5 years ago

chanansh commented 5 years ago

I can connect to the server using the cli without giving any user/password details. yet, when I try to connect with Datagrip using the driver jdbc it requires user and password and I cannot connect.

ebyhr commented 5 years ago

Hi, when we use presto-cli, the username is filled with System.getProperty("user.name") by default. I guess you omit both username and password. Could you please try to fill username and empty password?

esigma5 commented 4 years ago

Hi there! I ran into the same issue today. After surfing the source I found the workaround of using ***empty*** as password, and it solved it. It would be nice if it were documented somewhere, I just don't know where (and maybe it's also a DataGrip issue, I don't know).