diff --git a/cloud-sql/mysql/sqlalchemy/README.md b/cloud-sql/mysql/sqlalchemy/README.md index 2e04f6a900f..96d2410be29 100644 --- a/cloud-sql/mysql/sqlalchemy/README.md +++ b/cloud-sql/mysql/sqlalchemy/README.md @@ -84,13 +84,13 @@ for more details on connecting a Cloud Run service to Cloud SQL. 1. Build the container image: ```sh -gcloud builds submit --tag gcr.io/[YOUR_PROJECT_ID]/run-sql +gcloud builds submit --tag gcr.io/[YOUR_PROJECT_ID]/run-mysql ``` 2. Deploy the service to Cloud Run: ```sh -gcloud beta run deploy run-sql --image gcr.io/[YOUR_PROJECT_ID]/run-sql +gcloud run deploy run-mysql --image gcr.io/[YOUR_PROJECT_ID]/run-mysql ``` Take note of the URL output at the end of the deployment process. @@ -98,10 +98,10 @@ Take note of the URL output at the end of the deployment process. 3. Configure the service for use with Cloud Run ```sh -gcloud beta run services update run-mysql \ +gcloud run services update run-mysql \ --add-cloudsql-instances [INSTANCE_CONNECTION_NAME] \ --set-env-vars CLOUD_SQL_CONNECTION_NAME=[INSTANCE_CONNECTION_NAME],\ - DB_USER=[MY_DB_USER],DB_PASS=[MY_DB_PASS],DB_NAME=[MY_DB] +DB_USER=[MY_DB_USER],DB_PASS=[MY_DB_PASS],DB_NAME=[MY_DB] ``` Replace environment variables with the correct values for your Cloud SQL instance configuration. @@ -111,4 +111,4 @@ This step can be done as part of deployment but is separated for clarity. 4. Navigate your browser to the URL noted in step 2. For more details about using Cloud Run see http://cloud.run. -Review other [Python on Cloud Run samples](../../../run/). \ No newline at end of file +Review other [Python on Cloud Run samples](../../../run/).