Database Deployment Update
Few updates for database deployments and added additional references to official doc. Change-Id: I43be78e2e2fdf9ba17937752f754431fc66fea3c
This commit is contained in:

committed by
David Pursehouse

parent
9715e77332
commit
6b93d23264
@@ -32,10 +32,12 @@ password, create a database to store the metadata, and grant the user
|
|||||||
full rights on the newly created database:
|
full rights on the newly created database:
|
||||||
|
|
||||||
----
|
----
|
||||||
createuser -A -D -P -E gerrit2
|
$ createuser --username=postgres -A -D -P -E gerrit2
|
||||||
createdb -E UTF-8 -O gerrit2 reviewdb
|
$ 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]]
|
[[createdb_mysql]]
|
||||||
MySQL
|
MySQL
|
||||||
@@ -56,4 +58,7 @@ rights on it:
|
|||||||
ALTER DATABASE reviewdb charset=latin1;
|
ALTER DATABASE reviewdb charset=latin1;
|
||||||
GRANT ALL ON reviewdb.* TO 'gerrit2'@'localhost';
|
GRANT ALL ON reviewdb.* TO 'gerrit2'@'localhost';
|
||||||
FLUSH PRIVILEGES;
|
FLUSH PRIVILEGES;
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Visit MySQL's link:http://dev.mysql.com/doc/[documentation] for further
|
||||||
|
information regarding using MySQL.
|
||||||
|
Reference in New Issue
Block a user