Skip to content

Commit bc61b3a

Browse files
committed
Cloudsql v1->v2
1 parent 862582b commit bc61b3a

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

appengine/wordpress/README.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@ working WordPress project for
1212
* Create a new Cloud Project on [Developers Console][dev-console]
1313
* Enable Billing on that project
1414
* [Enable Cloud SQL API][cloud-sql-api-enable]
15-
* Create App Engine default bucket at [App Engine Setting Page][app-engine-setting]
1615
* Install [Google Cloud SDK][gcloud-sdk]
1716

1817
## Prerequisites for standard environment only
1918
* Install mysql
2019

2120
## Project preparation
2221

23-
Configure Google Cloud SDK with your account and the Project.
22+
Configure Google Cloud SDK with your account and the appropriate project ID:
2423

2524
```
2625
$ gcloud init
27-
...
28-
...
26+
```
27+
28+
Create an App Engine application within your new project:
29+
30+
```
2931
$ gcloud app create
3032
```
3133

@@ -38,28 +40,11 @@ follows:
3840
$ gsutil defacl ch -u AllUsers:R gs://YOUR_PROJECT_ID.appspot.com
3941
```
4042

41-
## Create and configure a Cloud SQL instance
42-
43-
If you will use App Engine flexible environment, create a Cloud SQL
44-
2nd generation instance, and if you will use App Engine standard
45-
environment, create a Cloud SQL 1st generation instance.
43+
### Create and configure a Cloud SQL 2nd generation instance
4644

47-
In this guide, we use `wp` for various resource names; the instance
45+
Note: In this guide, we use `wp` for various resource names; the instance
4846
name, the database name, and the user name.
4947

50-
### Create and configure a Cloud SQL 1st generation instance(for standard environment)
51-
52-
Go to the [SQL settings in the Cloud Console][sql-settings] and create
53-
an instance `wp` and database named `wp`. Go to the Access Control ->
54-
Users, then change the password for `root@localhost`. You will use
55-
this password for accessing from App Engine application.
56-
57-
Also create the `wp` database in the local mysql server. The local
58-
mysql instance is required to run `wp-cli` tool for
59-
installing/upgrading plugins and themes.
60-
61-
### Create and configure a Cloud SQL 2nd generation instance(for flexible environment)
62-
6348
You can create a new Cloud SQL Second Generation instance with the
6449
following command:
6550

0 commit comments

Comments
 (0)