From a932fead12d4ccacc9406aa9b905c3e03634837b Mon Sep 17 00:00:00 2001 From: zotov Date: Thu, 8 Dec 2022 12:26:32 +0300 Subject: [PATCH] Reverted to state of 14-dec-2021: removed all 'particular' servers sections that must be added only during QA scenario to temporary copy of this config. Added examples under comments. --- firebird-driver.conf | 368 ++++++++++++++++++------------------------- 1 file changed, 151 insertions(+), 217 deletions(-) diff --git a/firebird-driver.conf b/firebird-driver.conf index a32cb26f..ada7c308 100644 --- a/firebird-driver.conf +++ b/firebird-driver.conf @@ -1,269 +1,203 @@ [firebird.driver] - ; - ; Firebird driver configuration. +; +; Firebird driver configuration. - ; Path to Firebird client library - ; Type: str - ;fb_client_library = +; Path to Firebird client library +; Type: str +;fb_client_library = - ; BLOB size threshold. Bigger BLOB will be returned as stream BLOBs. - ; Type: int - ;stream_blob_threshold = 65536 +; BLOB size threshold. Bigger BLOB will be returned as stream BLOBs. +; Type: int +;stream_blob_threshold = 65536 - ; Registered servers - ; Type: list of configuration section names - servers = fb30old,fb308,fb30tmp,fb401,fb40old,fb40tmp,fb50tmp,fb50,qa_rundaily_fb30,qa_rundaily_fb40,qa_rundaily_fb50,qa_rundaily_hq30,qa_rundaily_hq40 +; Registered servers +; Type: list of configuration section names +servers = local - ; Registered databases - ; Type: list of configuration section names - ;databases = - - -; ############################################################################ +; Registered databases +; Type: list of configuration section names +;databases = [firebird.db.defaults] +; +; Default database configuration. - ; - ; Default database configuration. +; Name of server where database is located +; Type: str +;server = - ; Name of server where database is located - ; Type: str - ;server = +; Database connection string +; Type: str +;dsn = - ; Database connection string - ; Type: str - ;dsn = +; Database file specification or alias +; Type: str +;database = - ; Database file specification or alias - ; Type: str - ;database = +; Database filename should be passed in UTF8 +; Type: bool +;utf8filename = - ; Database filename should be passed in UTF8 - ; Type: bool - ;utf8filename = +; Protocol to be used for database +; Type: enum [xnet, inet, inet4, wnet] +;protocol = - ; Protocol to be used for database - ; Type: enum [xnet, inet, inet4, wnet] - ;protocol = +; Defaul user name +; Type: str +;user = - ; Defaul user name - ; Type: str - ;user = - ;user=SYSDBA +; Default user password +; Type: str +;password = - ; Default user password - ; Type: str - ;password = - #password=masterkey - ;; Use trusted authentication - ; Type: bool - ;trusted_auth = no +; Use trusted authentication +; Type: bool +;trusted_auth = no - ; User role - ; Type: str - ;role = +; User role +; Type: str +;role = - ; Character set for database connection - ; Type: str - ;charset = +; Character set for database connection +; Type: str +;charset = - ; SQL Dialect for database connection - ; Type: int - ;sql_dialect = 3 +; SQL Dialect for database connection +; Type: int +;sql_dialect = 3 - ; Connection timeout - ; Type: int - ;timeout = +; Connection timeout +; Type: int +;timeout = - ; Do not use linger for database connection - ; Type: bool - ;no_linger = +; Do not use linger for database connection +; Type: bool +;no_linger = - ; Page cache size override for database connection - ; Type: int - ;cache_size = +; Page cache size override for database connection +; Type: int +;cache_size = - ; Dummy packet interval - ; Type: int - ;dummy_packet_interval = +; Dummy packet interval +; Type: int +;dummy_packet_interval = - ; Configuration override - ; Type: str - ;config = +; Configuration override +; Type: str +;config = - ; List of authentication plugins override - ; Type: str - ;auth_plugin_list = +; List of authentication plugins override +; Type: str +;auth_plugin_list = - ; Page size to be used for created database. - ; Type: int - ;page_size = +; Page size to be used for created database. +; Type: int +;page_size = - ; Write mode for created database (True = sync, False = async) - ; Type: bool - ;forced_writes = +; Write mode for created database (True = sync, False = async) +; Type: bool +;forced_writes = - ; Character set for created database - ; Type: str - ;db_charset = +; Character set for created database +; Type: str +;db_charset = - ; SQL dialect for created database - ; Type: int - ;db_sql_dialect = +; SQL dialect for created database +; Type: int +;db_sql_dialect = - ; Page cache size override for created database - ; Type: int - ;db_cache_size = +; Page cache size override for created database +; Type: int +;db_cache_size = - ; Sweep interval for created database - ; Type: int - ;sweep_interval = +; Sweep interval for created database +; Type: int +;sweep_interval = - ; Data page space usage for created database (True = reserve space, False = Use all space) - ; Type: bool - ;reserve_space = - -; ############################################################################ +; Data page space usage for created database (True = reserve space, False = Use all space) +; Type: bool +;reserve_space = [firebird.server.defaults] - ; - ; Default server configuration. +; +; Default server configuration. - ; Server host machine specification - ; Type: str - ;host = +; Server host machine specification +; Type: str +;host = - ; Port used by Firebird server - ; Type: str - ;port = +; Port used by Firebird server +; Type: str +;port = - ; Defaul user name - ; Type: str - ;user=SYSDBA +; Defaul user name +; Type: str +user = SYSDBA - ; Default user password - ; Type: str - ;password=masterkey +; Default user password +; Type: str +password = masterkey +; Configuration override +; Type: str +;config = - ; Configuration override - ; Type: str - ;config = +; List of authentication plugins override +; Type: str +;auth_plugin_list = - ; List of authentication plugins override - ; Type: str - ;auth_plugin_list = +; Use trusted authentication +; Type: bool +;trusted_auth = no - ; Use trusted authentication - ; Type: bool - ;trusted_auth = no +[local] +; +; Server configuration. - ; no helps... - ;ncoding = cp1251 - ;encoding_errors = ignore +; Server host machine specification +; Type: str +host = localhost -; ############################################################################ +; Port used by Firebird server +; Type: str +;port = -[DEFAULT] - ; this section was added 20.07.2022, it was NOT in original file. - ; see letter from P.C. 28-dec-2021 15:14, subj: - ; "firebird-driver.conf: why some parameters can not be specified as COMMON for all tested servers ?" +; Defaul user name +; Type: str +user = SYSDBA - host = localhost - user=SYSDBA - password=masterkey - encoding_errors = ignore +; Default user password +; Type: str +password = masterkey -;[local] - ; - ; Server configuration. +; Configuration override +; Type: str +;config = - ; Server host machine specification - ; Type: str - ;host = localhost +; List of authentication plugins override +; Type: str +;auth_plugin_list = - ; Port used by Firebird server - ; Type: str - ;port = +; Use trusted authentication +; Type: bool +;trusted_auth = no - ; Defaul user name - ; Type: str +; ############################################################################# - ; Default user password - ; Type: str - - - ; Configuration override - ; Type: str - ;config = - - ; List of authentication plugins override - ; Type: str - ;auth_plugin_list = - - ; Use trusted authentication - ; Type: bool - ;trusted_auth = no - -; ############################################################################ - - -; Hereafter 'fb_client_library' must be specified in every server section. +; Hereafter specific servers and their port plus fb_client_library must be specified. ; NB: fb_client_library is part of DriverConfig and not server or database conf ; Explanation see in: -; 1. Letter from pcisar 28-dec-2021 15:14, subj: "firebird-driver-version" -; 2. Letter from pcisar 07-mar-2022 21:30, subj: "firebird-qa [new framework]: unable to make connection as NON-ASCII user ..." -[fb30old] - port = 3330 - fb_client_library = D:\FB\fb30-old\fbclient.dll - -[fb308] - port = 3308 - fb_client_library = D:\FB\fb308\fbclient.dll - -[fb30tmp] - port = 3399 - fb_client_library = D:\FB\fb30-tmp\fbclient.dll - -[fb401] - port = 3401 - fb_client_library = D:\FB\fb401rls\fbclient.dll - -[fb40tmp] - port = 3499 - fb_client_library = D:\FB\fb40-tmp\fbclient.dll - -[fb40old] - port = 3498 - fb_client_library = D:\FB\fb40-old\fbclient.dll - -[fb50tmp] - port = 3501 - fb_client_library = D:\FB\fb50-tmp\fbclient.dll - -[fb50] - port = 3500 - fb_client_library = D:\FB\fb50\fbclient.dll - #fb_client_library = D:\FB\fb50-tmp\fbclient.dll - - - -[qa_rundaily_fb30] - port = 33999 - fb_client_library = D:\FB\rundaily-2022\unpacked-snapshot.tmp\fbclient.dll - -[qa_rundaily_fb40] - port = 33999 - fb_client_library = D:\FB\rundaily-2022\unpacked-snapshot.tmp\fbclient.dll - -[qa_rundaily_fb50] - port = 33999 - fb_client_library = D:\FB\rundaily-2022\unpacked-snapshot.tmp\fbclient.dll - -[qa_rundaily_hq40] - port = 33999 - fb_client_library = D:\FB\rundaily-2022\unpacked-snapshot.tmp\fbclient.dll - -[qa_rundaily_hq30] - port = 33999 - fb_client_library = D:\FB\rundaily-2022\unpacked-snapshot.tmp\fbclient.dll +; 1. Letter from pcisar 28-dec-2021 15:14, subj: "firebird-driver-version" +; 2. Letter from pcisar 07-mar-2022 21:30, subj: "firebird-qa [new framework]: unable to make connection as NON-ASCII user ..." +; Parameter 'servers' in the [firebird.driver] section must be "contcatenated" with sections that ape specified below, i.e.: +; servers = local,fb3x,fb4x +; +; [fb3x] +; port = 33300 +; fb_client_library = C:\FB\fb3x\fbclient.dll ; (for WINDOWS) +; fb_client_library = /opt/fb30/lib/libfbclient.so ; (for LINUX) +; +; [fb4x] +; port = 33400 +; fb_client_library = C:\FB\fb4x\fbclient.dll ; (for WINDOWS) +; fb_client_library = /opt/fb40/lib/libfbclient.so ; (for LINUX)