Stopping cloud_sql_proxy
Asked Answered
O

2

8

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!

Orms answered 22/2, 2017 at 12:1 Comment(0)
J
9

This is what worked for me on MacOS:

  1. Find process ps | grep cloud_sql_proxy

  2. Kill process based on its id kill 97911

Johnathanjohnathon answered 16/7, 2018 at 18:37 Comment(1)
For me it was ps | grep cloud-sql-proxy with hyphen instead of underscoreNetta
E
0

This worked for me in windows powershell:

Stop-Process -Name "cloud_sql_proxy" -Force
Entreaty answered 5/5, 2021 at 21:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.