Browse Source

* Updated readme and database.ini

git-svn-id: trunk@8463 -
joost 18 years ago
parent
commit
f21b7b6bd9
2 changed files with 28 additions and 25 deletions
  1. 1 1
      packages/fcl-db/tests/README.txt
  2. 27 24
      packages/fcl-db/tests/database.ini

+ 1 - 1
packages/fcl-db/tests/README.txt

@@ -15,7 +15,7 @@ connectors are available in the '*toolsunit.pas' files.
 
 Which connector is currently used is dependent on the 'database.ini'
 configuration file. Also some settings which are connector-dependent can be set
-in that file. See 'database.ini' for more information.
+in that file. See 'database.ini.txt' for an example.
 
 I hope this is enough information to get you started,
 

+ 27 - 24
packages/fcl-db/tests/database.ini

@@ -1,67 +1,71 @@
-[Database]
 ; This file contains several sections, one for each database-type. Select here
-; which database has to be tested currently.
+; which section has to be used currently.
+[Database]
 type=interbase
 
-
-
 ; These sections are for the several SQLDB-types of databases:
 [postgresql]
-; The connector specifies the connector that has to be used. The 'sql' connector
-; tests the TSQLQuery component
+
+; The connector specifies the DB-component that has to be used. The 'sql'
+; connector tests the SQLDB components
 connector=sql
+
 ; Here you can give some parameters, which are specific for each connector. The
 ; SQL connector uses this parameter to specify the connection that should be
 ; used;
 connectorparams=postgresql
+
 ; The name of the database. The database could be empty. You only need read and
 ; write rights.
 name=testdb
+
 ; user to log in with
 user=
+
 ; password to log in with
 password=
+
 ; hostname of the database-server
-hostname=192.168.3.25
+hostname=127.0.0.1
 
 [mysql40]
 connector=sql
 connectorparams=mysql40
-name=cnoc02
+name=testdb
 user=root
-password=rosivrepus
-hostname=192.168.3.1
+password=
+hostname=127.0.0.1
 
 [mysql41]
 connector=sql
 connectorparams=mysql41
 name=testdb
 user=root
-password=apassword
-hostname=192.168.1.1
+password=
+hostname=127.0.0.1
 
 [mysql50]
 connector=sql
 connectorparams=mysql50
 name=testdb
 user=root
-password=apassword
-hostname=192.168.1.1
+password=
+hostname=127.0.0.1
 
 [oracle]
 connector=sql
 connectorparams=oracle
 name=xe
 user=system
-password=rosivrepus
-hostname=192.168.3.1
+password=
+hostname=127.0.0.1
 
 [interbase]
 connector=sql
 connectorparams=interbase
 name=/opt/firebird/data/testdb.fdb
 user=sysdba
-password=rosivrepus
+password=
 hostname=localhost
 
 [odbc]
@@ -69,19 +73,18 @@ connector=sql
 connectorparams=odbc
 name=testdb
 user=root
-password=apassword
-hostname=192.168.1.1
-
+password=
+hostname=127.0.0.1
 
 
-; This section is for TDbf:
+; This section is for a connector for TDbf:
 [dbf]
 connector=dbf
+
 ; Give here the path where the *.dbf file can be generated
 name=/tmp
 
-
-
-; This section is for MemDS:
+; This section is for a connector for MemDS:
 [memds]
 connector=memds
+