Connect to GCP's external Mysql Teamcity
I've created TeamCity infrastructure using teamcity GCP template. The TeamCity server has the public IP address and created with its own network. I had no idea if it has a password, so I "changed" it via to GCP/SQL Instances/Users tab.
I need to connect to SQL server and I'm using Cloud Shell and getting "Access denied for user 'blah' using password (YES)'. Am I connecting to it through the wrong tools? What is the easiest way to connect to TeamCity external Mysql server?
Please sign in to leave a comment.
Hi,
You can use one of the following approaches: https://cloud.google.com/sql/docs/mysql/connect-external-app
In the deployment script we're setting an IAM policy which allows connections from TeamCity's cloud VM to the cloud MySQL instance.
Could you check whether that works for you?