database.ini.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. ; connection character set
  30. charset=
  31. ; SQL command log file (for sqldb databases)
  32. ; will be appended to each run
  33. ; uncomment to use
  34. ;logfile=sql.log
  35. [firebirdembedded]
  36. ; Firebird embedded
  37. ; Same as Firebird, except we leave the host name blank
  38. ; and specify a db without path.
  39. ; Make sure your Firebird embedded library files (.dll/.so/.dylib)
  40. ; are installed; e.g. on Windows, you can put them in this
  41. ; directory.
  42. ; Test code will create db if it doesn't exist; you can
  43. ; delete an existing db file before the test to start
  44. ; fresh.
  45. connector=sql
  46. connectorparams=interbase
  47. name=fbembedtest.fdb
  48. user=sysdba
  49. password=masterkey
  50. hostname=
  51. charset=
  52. [mysql55]
  53. ; MySQL 5.5 database:
  54. connector=sql
  55. connectorparams=mysql55
  56. name=testdb
  57. user=root
  58. password=
  59. hostname=127.0.0.1
  60. [mysql56]
  61. ; MySQL 5.6 database:
  62. connector=sql
  63. connectorparams=mysql56
  64. name=testdb
  65. user=root
  66. password=
  67. hostname=127.0.0.1
  68. [mysql57]
  69. ; MySQL 5.7 database:
  70. connector=sql
  71. connectorparams=mysql57
  72. name=testdb
  73. user=root
  74. password=
  75. hostname=127.0.0.1
  76. charset=utf8mb4
  77. [mssql]
  78. ; MS SQL Server database:
  79. connector=sql
  80. connectorparams=mssql
  81. name=pubs
  82. ; If you want to use trusted authentication/SSPI, leave
  83. ; user and password blank
  84. user=sa
  85. password=
  86. ; You can specify the port after a colon, e.g.
  87. ; hostname=mssqlserver:1433
  88. ; You can also specify the instance after a backslash, e.g.
  89. ; hostname=127.0.0.1\SQLEXPRESS
  90. ; See mssqlconn documentation
  91. hostname=127.0.0.1
  92. charset=utf8
  93. [odbc]
  94. ; ODBC database:
  95. connector=sql
  96. connectorparams=odbc
  97. name=testdb
  98. user=root
  99. password=
  100. hostname=127.0.0.1
  101. [oracle]
  102. ; Oracle database:
  103. connector=sql
  104. connectorparams=oracle
  105. ; SID or instance name:
  106. name=xe
  107. user=system
  108. password=
  109. hostname=127.0.0.1
  110. [postgresql]
  111. ; PostgreSQL database:
  112. connector=sql
  113. connectorparams=postgresql
  114. name=testdb
  115. user=
  116. password=
  117. hostname=127.0.0.1
  118. [sqlite]
  119. ; SQLite database:
  120. connector=sql
  121. connectorparams=sqlite3
  122. name=test.db
  123. charset=utf-8
  124. [sybase]
  125. ; Sybase ASE database
  126. connector=sql
  127. connectorparams=sybase
  128. name=testdb
  129. user=sa
  130. password=
  131. ; You can specify the port after a colon, e.g.
  132. ; hostname=bigbadserver:5000
  133. ; See mssqlconn documentation
  134. hostname=127.0.0.1
  135. ; end of sqldb relational databases
  136. ; next are file/memory-based databases:
  137. [dbf]
  138. ; TDBf: DBase/FoxPro database:
  139. connector=dbf
  140. ; Connectorparams specifies table level/compatibility level:
  141. ; 3=DBase III
  142. ; 4=DBase IV
  143. ; 7=Visual DBase 7 for Windows
  144. ; 25=FoxPro
  145. ; 30=Visual FoxPro
  146. connectorparams=4
  147. [dbase3]
  148. ; TDBf: DBase/FoxPro database:
  149. connector=dbf
  150. connectorparams=3
  151. [dbase4]
  152. ; TDBf: DBase/FoxPro database:
  153. connector=dbf
  154. connectorparams=4
  155. [dbase7]
  156. ; TDBf: DBase/FoxPro database:
  157. connector=dbf
  158. ; 7=Visual DBase 7 for Windows
  159. connectorparams=7
  160. [foxpro]
  161. ; TDBf: DBase/FoxPro database:
  162. connector=dbf
  163. ; 25=FoxPro
  164. connectorparams=25
  165. [visualfoxpro]
  166. ; TDBf: DBase/FoxPro database:
  167. connector=dbf
  168. ; 30=Visual FoxPro
  169. connectorparams=25
  170. [memds]
  171. ; MemDS simple in memory dataset:
  172. connector=memds
  173. [bufdataset]
  174. ; BufDataset in memory dataset:
  175. connector=bufdataset
  176. [sdfdataset]
  177. ; sdfdataset file-based dataset:
  178. connector=sdfds
  179. ; subdirectory for the sdf files:
  180. name=sdftest
  181. [sqlite3dataset]
  182. ; TSqlite3Dataset dataset:
  183. connector=sqlite3ds
  184. ; datafile
  185. name=testsqlite3ds.db