diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-10 13:33:01 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-10 13:33:01 +0100 |
commit | 75b0e8ef75934a64c5289752d393884230ec8712 (patch) | |
tree | 1e8fc9dd10c8723482a691af1b1800ab02ac534e /user_guide_src/source/database | |
parent | 81fe6bf6933d44c991ce736a5b33efebdfcb39d7 (diff) | |
parent | 16af6afe991381360439135ddb0735dab1280fed (diff) |
Merge upstream branch
Diffstat (limited to 'user_guide_src/source/database')
-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 7d3960f10..a58492ccc 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:: |