ssl connection working in MySQL Workbench, but not in DBeaver

做~自己de王妃 提交于 2020-01-03 00:54:29

问题


I am getting an 'access denied' error trying to connect to a Google Cloud SQL MySQL instance with ssl in DBeaver.

I am able to

  • connect to the server with the same ssl credentials in MySQL Workbench
  • connect without ssl credentials (through user name / password) in DBeaver.

Any suggestions why this might be?


回答1:


You can add connection with SSL support, at least in latest version for today (5.1). Create connection as usual, then skip testing and go to next step, then on SSL tab select "Require SSL" and unselect other checkboxes if selected, then test the connection.




回答2:


in dbeaver the ssl connection configuration is available but it is not working and it is not implemented, it took me a day to find out that this is because of dbeaver bug. If you need to connect through ssl to Postgres, you can use 'DataGrip' instead. As mentioned here: https://dbeaver.io/forum/viewtopic.php?f=2&t=1921 'Currently DBeaver doesn't support SSL connections out of the box. You could try to configure it manually if you are familiar with Java (instructions are at https://jdbc.postgresql.org/documentati ... lient.html).

Easy SSL support is in TODO and will be added in one of next versions.'



来源:https://stackoverflow.com/questions/39514212/ssl-connection-working-in-mysql-workbench-but-not-in-dbeaver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!