diff options
Diffstat (limited to 'configs/res_odbc.conf.sample')
-rw-r--r-- | configs/res_odbc.conf.sample | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/res_odbc.conf.sample b/configs/res_odbc.conf.sample index 2642676bf..ecb2cc66a 100644 --- a/configs/res_odbc.conf.sample +++ b/configs/res_odbc.conf.sample @@ -15,6 +15,10 @@ dsn => asterisk ;username => myuser ;password => mypass pre-connect => yes +; What should we execute to ensure that our connection is still alive? The +; statement should return a non-zero value in the first field of its first +; record. The default is "select 1". +;sanitysql => select 1 [mysql2] @@ -35,7 +39,7 @@ limit => 5 username => oscar password => thegrouch pre-connect => yes - +sanitysql => select count(*) from systables |