I set up GCP for App Maker and create instance and make a connection but there's an ERROR: Cannot create admin user in the default Google Cloud SQL instance. How to address this issue? TIA
Asked
Active
Viewed 431 times
1
-
Default user for MySQL is root not admin. Check if problem is solved by creating a new user. check link for details. https://cloud.google.com/sql/docs/mysql/create-manage-users – Gaurav Apr 24 '18 at 05:59
-
If the solution offered in the previous comment doesn't solve your issue, try following the steps here [https://cloud.google.com/sql/docs/mysql/diagnose-issues#connection] in order to diagnose the connection issue. – gr7 Apr 24 '18 at 10:42
-
1Here is one more article that could help: https://support.google.com/a/answer/7550053 – Pavel Shkleinik Apr 25 '18 at 22:09
1 Answers
2
There is a place in the GCP & AppMaker guide where you are instructed to go to 'IAM & admin' page and add there 'appmaker-maestro@appspot.gserviceaccount.com' account with role 'Cloud SQL client'.
However you also have to add 'Cloud SQL Admin' role.

René Kolařík
- 1,244
- 1
- 10
- 18