Deprecate DATABASE_TYPE and use_database
Select a database by adding it to ENABLED_SERVICE like the other
services. This greatly simplifies using the lib/* functions in
places other than stack.sh
Backward-compatibility is maintained or now (into havana at least).
Change-Id: I967e44603b4d69d5d70e1a75a9938172ca434025
diff --git a/README.md b/README.md
index 9310758..483d1b0 100644
--- a/README.md
+++ b/README.md
@@ -60,11 +60,12 @@
# Database Backend
Multiple database backends are available. The available databases are defined in the lib/databases directory.
-To choose a database backend, add a line to your `localrc` like:
+`mysql` is the default database, choose a different one by putting the following in `localrc`:
- use_database postgresql
+ disable_service mysql
+ enable_service postgresql
-By default, the mysql database backend is used.
+`mysql` is the default database.
# RPC Backend