-
Notifications
You must be signed in to change notification settings - Fork 6
/
firebird-driver.conf
207 lines (159 loc) · 4.32 KB
/
firebird-driver.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[firebird.driver]
;
; Firebird driver configuration.
; Path to Firebird client library
; Type: str
;fb_client_library = <UNDEFINED>
; 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 = local
; Registered databases
; Type: list of configuration section names
;databases =
[firebird.db.defaults]
;
; Default database configuration.
; Name of server where database is located
; Type: str
;server = <UNDEFINED>
; Database connection string
; Type: str
;dsn = <UNDEFINED>
; Database file specification or alias
; Type: str
;database = <UNDEFINED>
; Database filename should be passed in UTF8
; Type: bool
;utf8filename = <UNDEFINED>
; Protocol to be used for database
; Type: enum [xnet, inet, inet4, wnet]
;protocol = <UNDEFINED>
; Defaul user name
; Type: str
;user = <UNDEFINED>
; Default user password
; Type: str
;password = <UNDEFINED>
; Use trusted authentication
; Type: bool
;trusted_auth = no
; User role
; Type: str
;role = <UNDEFINED>
; Character set for database connection
; Type: str
;charset = <UNDEFINED>
; SQL Dialect for database connection
; Type: int
;sql_dialect = 3
; Connection timeout
; Type: int
;timeout = <UNDEFINED>
; Do not use linger for database connection
; Type: bool
;no_linger = <UNDEFINED>
; Page cache size override for database connection
; Type: int
;cache_size = <UNDEFINED>
; Dummy packet interval
; Type: int
;dummy_packet_interval = <UNDEFINED>
; Configuration override
; Type: str
;config = <UNDEFINED>
; List of authentication plugins override
; Type: str
;auth_plugin_list = <UNDEFINED>
; Page size to be used for created database.
; Type: int
;page_size = <UNDEFINED>
; Write mode for created database (True = sync, False = async)
; Type: bool
;forced_writes = <UNDEFINED>
; Character set for created database
; Type: str
;db_charset = <UNDEFINED>
; SQL dialect for created database
; Type: int
;db_sql_dialect = <UNDEFINED>
; Page cache size override for created database
; Type: int
;db_cache_size = <UNDEFINED>
; Sweep interval for created database
; Type: int
;sweep_interval = <UNDEFINED>
; Data page space usage for created database (True = reserve space, False = Use all space)
; Type: bool
;reserve_space = <UNDEFINED>
[firebird.server.defaults]
;
; Default server configuration.
; Server host machine specification
; Type: str
;host = <UNDEFINED>
; Port used by Firebird server
; Type: str
;port = <UNDEFINED>
; Defaul user name
; Type: str
user = SYSDBA
; Default user password
; Type: str
password = masterkey
; 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
[local]
;
; Server configuration.
; Server host machine specification
; Type: str
host = localhost
; Port used by Firebird server
; Type: str
;port = <UNDEFINED>
; Defaul user name
; Type: str
user = SYSDBA
; Default user password
; Type: str
password = masterkey
; 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 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 ..."
; 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)
;[qa_rundaily_fb30]
; port = 33999
; fb_client_library = D:\FB\rundaily-2022\unpacked-snapshot.tmp\fbclient.dll