Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: perf/DESIGN.md

Issue 813443002: Overhaul database package (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Fix newline in password Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: perf/DESIGN.md
diff --git a/perf/DESIGN.md b/perf/DESIGN.md
index 0b39cb3196e4aa2730d08fbf2483745d323efa92..88995b5d543275f4808edc453ef7fc211f2a5776 100644
--- a/perf/DESIGN.md
+++ b/perf/DESIGN.md
@@ -197,7 +197,7 @@ GCE):
Initial setup of the database, the users, and the tables:
* Create the database and set up permissions. Execute the following after
- you connect to a MySQL database (not necessary for SQLite).
+ you connect to a MySQL database.
CREATE DATABASE skia;
USE skia;
@@ -209,10 +209,9 @@ Initial setup of the database, the users, and the tables:
* Create the versioned database tables.
We use the 'migratedb' tool to keep the database in a well defined (versioned)
- state. The 'db_conn_string' flag allows to specify the target database.
- By default it will try to connect to the production environment.
- But for testing a local MySQL database can be provided. If it cannot
- connect to MySQL it will fall back to SQLite.
+ state. The db_host, db_port, db_user, and db_name flags allow you to specify
+ the target database. By default it will try to connect to the production
+ environment. But for testing a local MySQL database can be provided.
Bring the production database to the latest schema version:
@@ -220,11 +219,7 @@ Initial setup of the database, the users, and the tables:
Bring a local database to the latest schema version:
- $ migratedb -logtostderr=true -db_conn_string="root:%s@tcp(localhost:3306)/skia?parseTime=true"
-
- Bring a local SQLite database to the latest schema version:
-
- $ migratedb -logtostderr=true -db_conn_string=""
+ $ migratedb -logtostderr=true -db_host=localhost
jcgregorio 2014/12/19 20:27:06 $ perf_migratedb -logtostderr=true -db_host=localh
borenet 2014/12/19 20:39:15 Done.
Nginx

Powered by Google App Engine
This is Rietveld 408576698