6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

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.

This commit is contained in:
zotov 2022-12-08 12:26:32 +03:00
parent b7b8633016
commit a932fead12

View File

@ -1,269 +1,203 @@
[firebird.driver] [firebird.driver]
; ;
; Firebird driver configuration. ; Firebird driver configuration.
; Path to Firebird client library ; Path to Firebird client library
; Type: str ; Type: str
;fb_client_library = <UNDEFINED> ;fb_client_library = <UNDEFINED>
; BLOB size threshold. Bigger BLOB will be returned as stream BLOBs. ; BLOB size threshold. Bigger BLOB will be returned as stream BLOBs.
; Type: int ; Type: int
;stream_blob_threshold = 65536 ;stream_blob_threshold = 65536
; Registered servers ; Registered servers
; Type: list of configuration section names ; 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 servers = local
; Registered databases ; Registered databases
; Type: list of configuration section names ; Type: list of configuration section names
;databases = ;databases =
; ############################################################################
[firebird.db.defaults] [firebird.db.defaults]
;
; Default database configuration.
; ; Name of server where database is located
; Default database configuration. ; Type: str
;server = <UNDEFINED>
; Name of server where database is located ; Database connection string
; Type: str ; Type: str
;server = <UNDEFINED> ;dsn = <UNDEFINED>
; Database connection string ; Database file specification or alias
; Type: str ; Type: str
;dsn = <UNDEFINED> ;database = <UNDEFINED>
; Database file specification or alias ; Database filename should be passed in UTF8
; Type: str ; Type: bool
;database = <UNDEFINED> ;utf8filename = <UNDEFINED>
; Database filename should be passed in UTF8 ; Protocol to be used for database
; Type: bool ; Type: enum [xnet, inet, inet4, wnet]
;utf8filename = <UNDEFINED> ;protocol = <UNDEFINED>
; Protocol to be used for database ; Defaul user name
; Type: enum [xnet, inet, inet4, wnet] ; Type: str
;protocol = <UNDEFINED> ;user = <UNDEFINED>
; Defaul user name ; Default user password
; Type: str ; Type: str
;user = <UNDEFINED> ;password = <UNDEFINED>
;user=SYSDBA
; Default user password ; Use trusted authentication
; Type: str ; Type: bool
;password = <UNDEFINED> ;trusted_auth = no
#password=masterkey
;; Use trusted authentication
; Type: bool
;trusted_auth = no
; User role ; User role
; Type: str ; Type: str
;role = <UNDEFINED> ;role = <UNDEFINED>
; Character set for database connection ; Character set for database connection
; Type: str ; Type: str
;charset = <UNDEFINED> ;charset = <UNDEFINED>
; SQL Dialect for database connection ; SQL Dialect for database connection
; Type: int ; Type: int
;sql_dialect = 3 ;sql_dialect = 3
; Connection timeout ; Connection timeout
; Type: int ; Type: int
;timeout = <UNDEFINED> ;timeout = <UNDEFINED>
; Do not use linger for database connection ; Do not use linger for database connection
; Type: bool ; Type: bool
;no_linger = <UNDEFINED> ;no_linger = <UNDEFINED>
; Page cache size override for database connection ; Page cache size override for database connection
; Type: int ; Type: int
;cache_size = <UNDEFINED> ;cache_size = <UNDEFINED>
; Dummy packet interval ; Dummy packet interval
; Type: int ; Type: int
;dummy_packet_interval = <UNDEFINED> ;dummy_packet_interval = <UNDEFINED>
; Configuration override ; Configuration override
; Type: str ; Type: str
;config = <UNDEFINED> ;config = <UNDEFINED>
; List of authentication plugins override ; List of authentication plugins override
; Type: str ; Type: str
;auth_plugin_list = <UNDEFINED> ;auth_plugin_list = <UNDEFINED>
; Page size to be used for created database. ; Page size to be used for created database.
; Type: int ; Type: int
;page_size = <UNDEFINED> ;page_size = <UNDEFINED>
; Write mode for created database (True = sync, False = async) ; Write mode for created database (True = sync, False = async)
; Type: bool ; Type: bool
;forced_writes = <UNDEFINED> ;forced_writes = <UNDEFINED>
; Character set for created database ; Character set for created database
; Type: str ; Type: str
;db_charset = <UNDEFINED> ;db_charset = <UNDEFINED>
; SQL dialect for created database ; SQL dialect for created database
; Type: int ; Type: int
;db_sql_dialect = <UNDEFINED> ;db_sql_dialect = <UNDEFINED>
; Page cache size override for created database ; Page cache size override for created database
; Type: int ; Type: int
;db_cache_size = <UNDEFINED> ;db_cache_size = <UNDEFINED>
; Sweep interval for created database ; Sweep interval for created database
; Type: int ; Type: int
;sweep_interval = <UNDEFINED> ;sweep_interval = <UNDEFINED>
; Data page space usage for created database (True = reserve space, False = Use all space) ; Data page space usage for created database (True = reserve space, False = Use all space)
; Type: bool ; Type: bool
;reserve_space = <UNDEFINED> ;reserve_space = <UNDEFINED>
; ############################################################################
[firebird.server.defaults] [firebird.server.defaults]
; ;
; Default server configuration. ; Default server configuration.
; Server host machine specification ; Server host machine specification
; Type: str ; Type: str
;host = <UNDEFINED> ;host = <UNDEFINED>
; Port used by Firebird server ; Port used by Firebird server
; Type: str ; Type: str
;port = <UNDEFINED> ;port = <UNDEFINED>
; Defaul user name ; Defaul user name
; Type: str ; Type: str
;user=SYSDBA user = SYSDBA
; Default user password ; Default user password
; Type: str ; Type: str
;password=masterkey password = masterkey
; Configuration override
; Type: str
;config = <UNDEFINED>
; Configuration override ; List of authentication plugins override
; Type: str ; Type: str
;config = <UNDEFINED> ;auth_plugin_list = <UNDEFINED>
; List of authentication plugins override ; Use trusted authentication
; Type: str ; Type: bool
;auth_plugin_list = <UNDEFINED> ;trusted_auth = no
; Use trusted authentication [local]
; Type: bool ;
;trusted_auth = no ; Server configuration.
; no helps... ; Server host machine specification
;ncoding = cp1251 ; Type: str
;encoding_errors = ignore host = localhost
; ############################################################################ ; Port used by Firebird server
; Type: str
;port = <UNDEFINED>
[DEFAULT] ; Defaul user name
; this section was added 20.07.2022, it was NOT in original file. ; Type: str
; see letter from P.C. 28-dec-2021 15:14, subj: user = SYSDBA
; "firebird-driver.conf: why some parameters can not be specified as COMMON for all tested servers ?"
host = localhost ; Default user password
user=SYSDBA ; Type: str
password=masterkey password = masterkey
encoding_errors = ignore
;[local] ; Configuration override
; ; Type: str
; Server configuration. ;config = <UNDEFINED>
; Server host machine specification ; List of authentication plugins override
; Type: str ; Type: str
;host = localhost ;auth_plugin_list = <UNDEFINED>
; Port used by Firebird server ; Use trusted authentication
; Type: str ; Type: bool
;port = <UNDEFINED> ;trusted_auth = no
; Defaul user name ; #############################################################################
; Type: str
; Default user password ; Hereafter specific servers and their port plus fb_client_library must be specified.
; Type: str
; Configuration override
; Type: str
;config = <UNDEFINED>
; List of authentication plugins override
; Type: str
;auth_plugin_list = <UNDEFINED>
; Use trusted authentication
; Type: bool
;trusted_auth = no
; ############################################################################
; Hereafter 'fb_client_library' must be specified in every server section.
; NB: fb_client_library is part of DriverConfig and not server or database conf ; NB: fb_client_library is part of DriverConfig and not server or database conf
; Explanation see in: ; Explanation see in:
; 1. Letter from pcisar 28-dec-2021 15:14, subj: "firebird-driver-version" ; 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 ..." ; 2. Letter from pcisar 07-mar-2022 21:30, subj: "firebird-qa [new framework]: unable to make connection as NON-ASCII user ..."
[fb30old] ; Parameter 'servers' in the [firebird.driver] section must be "contcatenated" with sections that ape specified below, i.e.:
port = 3330 ; servers = local,fb3x,fb4x
fb_client_library = D:\FB\fb30-old\fbclient.dll ;
; [fb3x]
[fb308] ; port = 33300
port = 3308 ; fb_client_library = C:\FB\fb3x\fbclient.dll ; (for WINDOWS)
fb_client_library = D:\FB\fb308\fbclient.dll ; fb_client_library = /opt/fb30/lib/libfbclient.so ; (for LINUX)
;
[fb30tmp] ; [fb4x]
port = 3399 ; port = 33400
fb_client_library = D:\FB\fb30-tmp\fbclient.dll ; fb_client_library = C:\FB\fb4x\fbclient.dll ; (for WINDOWS)
; fb_client_library = /opt/fb40/lib/libfbclient.so ; (for LINUX)
[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