Using Console
Using CLI
gcloud sql instances list
gcloud sql instances patch INSTANCE_NAME --database-flags=ignore_builtin_usernames=USER1,USER2
Replace INSTANCE_NAME with the name of the SQL instance that you identified in step 4.Replace USER1,USER2 with the list of barred usernames that you want to ignore. You can add more usernames to the list by separating them with a comma.gcloud sql instances describe INSTANCE_NAME
Using Python
patch
method of the CloudSqlInstancesServiceClient
to update the instance configuration.barred_usernames
from the instance settings and update the instance configuration.