Database Deployment Update

Few updates for database deployments and added additional references to
official doc.

Change-Id: I43be78e2e2fdf9ba17937752f754431fc66fea3c
This commit is contained in:
Jason Huntley
2012-09-24 15:03:00 -04:00
committed by David Pursehouse
parent 9715e77332
commit 6b93d23264

View File

@@ -32,10 +32,12 @@ password, create a database to store the metadata, and grant the user
full rights on the newly created database:
----
createuser -A -D -P -E gerrit2
createdb -E UTF-8 -O gerrit2 reviewdb
$ createuser --username=postgres -A -D -P -E gerrit2
$ createdb --username=postgres -E UTF-8 -O gerrit2 reviewdb
----
Visit PostgreSQL's link:http://www.postgresql.org/docs/9.1/interactive/index.html[documentation] for further information regarding
using PostgreSQL.
[[createdb_mysql]]
MySQL
@@ -56,4 +58,7 @@ rights on it:
ALTER DATABASE reviewdb charset=latin1;
GRANT ALL ON reviewdb.* TO 'gerrit2'@'localhost';
FLUSH PRIVILEGES;
----
----
Visit MySQL's link:http://dev.mysql.com/doc/[documentation] for further
information regarding using MySQL.