How do I stop a cloud_sql_proxy
connection?
When I try to connect to my local mysql db I get: MySQL said: Access denied for user 'root'@'cloudsqlproxy~xx.xxx.xx.xxx' (using password: NO)
even though I'm connecting to 127.0.0.1
, clear the proxy is getting in the way.
I can't find this in the docs... Help!
In the Google Cloud console, go to the Cloud SQL Instances page. To open the Overview page of an instance, click the instance name. Click Stop.
The Cloud SQL Auth proxy works by having a local client running in the local environment. Your application communicates with the Cloud SQL Auth proxy with the standard database protocol used by your database. The Cloud SQL Auth proxy uses a secure tunnel to communicate with its companion process running on the server.
This is what worked for me on MacOS:
Find process
ps | grep cloud_sql_proxy
Kill process based on its id
kill 97911
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With