diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-28 13:48:55 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-28 13:48:55 +0100 |
commit | 575bbfe97e4f0e3ad88558454fb2c87d372a7651 (patch) | |
tree | eec271f209f8a7539b3b519be3a68e067f24562a /user_guide_src/source/database/configuration.rst | |
parent | d33e24c2a649420d420ad9b11efb1bbf2421114c (diff) | |
parent | 0aa8c60ae7eee0122c42ae17d42fd5471a575743 (diff) |
Merge remote-tracking branch 'upstream/develop' into develop-db-sqlite
Diffstat (limited to 'user_guide_src/source/database/configuration.rst')
-rw-r--r-- | user_guide_src/source/database/configuration.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide_src/source/database/configuration.rst b/user_guide_src/source/database/configuration.rst index 4f88c25ab..040e7e33f 100644 --- a/user_guide_src/source/database/configuration.rst +++ b/user_guide_src/source/database/configuration.rst @@ -28,6 +28,10 @@ prototype:: $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; +If you use PDO as your dbdriver, you can specify the full DSN string describe a connection to the database like this:: + + $db['default']['dsn'] = 'pgsql:host=localhost;port=5432;dbname=database_name'; + You can also specify failovers for the situation when the main connection cannot connect for some reason. These failovers can be specified by setting the failover for a connection like this:: |