database.ini.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. ; This file contains several sections, one for each database type.
  2. ; Select here which section is to be used currently,
  3. ; i.e. which database you want to use
  4. [Database]
  5. type=bufdataset
  6. ; These sections are for the various types of databases:
  7. [interbase]
  8. ; Interbase or Firebird database:
  9. ; The connector specifies the DB component that has to be used. The 'sql'
  10. ; connector tests the SQLDB components
  11. connector=sql
  12. ; Here you can give some parameters, which are specific for each connector. The
  13. ; SQL connector uses this parameter to specify the connection that should be
  14. ; used - i.e. the database server;
  15. connectorparams=interbase
  16. ; The name of the database. The database could be empty. You only need read and
  17. ; write rights.
  18. name=/opt/firebird/data/testdb.fdb
  19. ; user to log in with
  20. ; Default username/password for Interbase/Firebird
  21. ; is sysdba/masterkey. Change to your situation.
  22. user=sysdba
  23. ; password to log in with
  24. ; masterke or masterkey is default for Interbase/Firebird
  25. password=masterkey
  26. ; hostname or IP address
  27. ; of the database server
  28. hostname=localhost
  29. ; SQL command log file (for sqldb databases)
  30. ; will be appended to each run
  31. ; uncomment to use
  32. ;logfile=sql.log
  33. [firebirdembedded]
  34. ; Firebird embedded
  35. ; Same as Firebird, except we leave the host name blank
  36. ; and specify a db without path.
  37. ; Make sure your Firebird embedded library files (.dll/.so/.dylib)
  38. ; are installed; e.g. on Windows, you can put them in this
  39. ; directory.
  40. ; Test code will create db if it doesn't exist; you can
  41. ; delete an existing db file before the test to start
  42. ; fresh.
  43. connector=sql
  44. connectorparams=interbase
  45. name=fbembedtest.fdb
  46. user=sysdba
  47. password=masterkey
  48. hostname=
  49. [mysql40]
  50. ; MySQL 4.0 database:
  51. connector=sql
  52. connectorparams=mysql40
  53. name=testdb
  54. user=root
  55. password=
  56. hostname=127.0.0.1
  57. [mysql41]
  58. ; MySQL 4.1 database:
  59. connector=sql
  60. connectorparams=mysql41
  61. name=testdb
  62. user=root
  63. password=
  64. hostname=127.0.0.1
  65. [mysql50]
  66. ; MySQL 5.0 database:
  67. connector=sql
  68. connectorparams=mysql50
  69. name=testdb
  70. user=root
  71. password=
  72. hostname=127.0.0.1
  73. [mysql51]
  74. ; MySQL 5.1 database:
  75. connector=sql
  76. connectorparams=mysql51
  77. name=testdb
  78. user=root
  79. password=
  80. hostname=127.0.0.1
  81. [mysql55]
  82. ; MySQL 5.5 database:
  83. connector=sql
  84. connectorparams=mysql55
  85. name=testdb
  86. user=root
  87. password=
  88. hostname=127.0.0.1
  89. [mysql56]
  90. ; MySQL 5.6 database:
  91. connector=sql
  92. connectorparams=mysql56
  93. name=testdb
  94. user=root
  95. password=
  96. hostname=127.0.0.1
  97. [mssql]
  98. ; MS SQL Server database:
  99. connector=sql
  100. connectorparams=mssql
  101. name=pubs
  102. ; If you want to use trusted authentication/SSPI, leave
  103. ; user and password blank
  104. user=sa
  105. password=
  106. ; You can specify the port after a colon, e.g.
  107. ; hostname=mssqlserver:1433
  108. ; You can also specify the instance after a backslash, e.g.
  109. ; hostname=127.0.0.1\SQLEXPRESS
  110. ; See mssqlconn documentation
  111. hostname=127.0.0.1
  112. [odbc]
  113. ; ODBC database:
  114. connector=sql
  115. connectorparams=odbc
  116. name=testdb
  117. user=root
  118. password=
  119. hostname=127.0.0.1
  120. [oracle]
  121. ; Oracle database:
  122. connector=sql
  123. connectorparams=oracle
  124. ; SID or instance name:
  125. name=xe
  126. user=system
  127. password=
  128. hostname=127.0.0.1
  129. [postgresql]
  130. ; PostgreSQL database:
  131. connector=sql
  132. connectorparams=postgresql
  133. name=testdb
  134. user=
  135. password=
  136. hostname=127.0.0.1
  137. [sqlite]
  138. ; SQLite database:
  139. connector=sql
  140. connectorparams=sqlite3
  141. name=test.db
  142. [sybase]
  143. ; Sybase ASE database
  144. connector=sql
  145. connectorparams=sybase
  146. name=testdb
  147. user=sa
  148. password=
  149. ; You can specify the port after a colon, e.g.
  150. ; hostname=bigbadserver:5000
  151. ; See mssqlconn documentation
  152. hostname=127.0.0.1
  153. ; end of sqldb relational databases
  154. ; next are file/memory-based databases:
  155. [dbf]
  156. ; TDBf: DBase/FoxPro database:
  157. connector=dbf
  158. ; Connectorparams specifies table level/compatibility level:
  159. ; 3=DBase III
  160. ; 4=DBase IV
  161. ; 7=Visual DBase 7 for Windows
  162. ; 25=FoxPro
  163. ; 30=Visual FoxPro
  164. connectorparams=4
  165. [dbase3]
  166. ; TDBf: DBase/FoxPro database:
  167. connector=dbf
  168. connectorparams=3
  169. [dbase4]
  170. ; TDBf: DBase/FoxPro database:
  171. connector=dbf
  172. connectorparams=4
  173. [dbase7]
  174. ; TDBf: DBase/FoxPro database:
  175. connector=dbf
  176. ; 7=Visual DBase 7 for Windows
  177. connectorparams=7
  178. [foxpro]
  179. ; TDBf: DBase/FoxPro database:
  180. connector=dbf
  181. ; 25=FoxPro
  182. connectorparams=25
  183. [visualfoxpro]
  184. ; TDBf: DBase/FoxPro database:
  185. connector=dbf
  186. ; 30=Visual FoxPro
  187. connectorparams=25
  188. [memds]
  189. ; MemDS simple in memory dataset:
  190. connector=memds
  191. [bufdataset]
  192. ; BufDataset in memory dataset:
  193. connector=bufdataset
  194. [sdfdataset]
  195. ; sdfdataset file-based dataset:
  196. connector=sdfds
  197. ; subdirectory for the sdf files:
  198. name=sdftest
  199. [sqlite3dataset]
  200. ; TSqlite3Dataset dataset:
  201. connector=sqlite3ds
  202. ; datafile
  203. name=testsqlite3ds.db