question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ssl connection to Google Cloud SQL (MySQL) not working

See original GitHub issue

I am trying to switch from MySQL Workbench to DBeaver, but I can’t get the ssl connection to work, as I keep getting an ‘access denied’ error. 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.

Are there any settings that I might have to change in DBeaver that are automatically set right in MySQL Workbench? Anything particular to Google Cloud SQL? Is it possible DBeaver isn’t using ssl even though I checked both Use SSL and Require SSL?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
serge-ridercommented, Aug 5, 2017

@ronjouch It was a bug in PG SSL config page (you really need to set Root Certificate property). Thanks for report. Fixed in #1972.

0reactions
ronjouchcommented, Aug 5, 2017

@ronjouch It was a bug in PG SSL config page (you really need to set Root Certificate property). Thanks for report. Fixed in #1972.

@serge-rider awwwwesome 👍. Thanks for the attention and quick fix 🙂.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging connection issues | Cloud SQL Documentation
If your instance is configured to use SSL, go to the Cloud SQL Instances page in the Google Cloud console and open the...
Read more >
Unable to connect to CloudSQL instance using IP address if ...
1. Go to the "Access Control" page for the CloudSQL instance in the management UI. · 2. Check "Only allow SSL connections" on...
Read more >
Cannot connect to Google Cloud MySQL using SSL with PDO ...
I am able to connect to MySQL using SSL with the PHP PDO from my local machine. The same code fails when run...
Read more >
Not enforcing SSL on CloudSQL, really
When creating a MySQL CloudSQL instance, SSL connections are not enforced by default and you get below in the Connections tab of the...
Read more >
DataGrip - Connect to Google Cloud SQL instances - JetBrains
Step 1. Run the Cloud SQL Proxy client ... Start the proxy in the command prompt. ... Replace the connection_name with the connection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found