Commits

Anonymous committed f612ac5

Added mysql 5.1, 5.5 to database.ini template; sorted entries

  • Participants
  • Parent commits 15a2951

Comments (0)

Files changed (1)

File testdbwriter.ini.txt

 ; The following sections contain the profiles you can use
 ; Please feel free to add/modify these:
 
-; PostgreSQL database:
-[postgresql]
+; Interbase or Firebird database:
+[firebird]
 ; Specify which TSQLConnection descendant you want to use - i.e. what database
-; type you are using
-type=postgresql
+; type you are using (use the spelling that the tsqlconnection uses)
+type=firebird
 
-; The name of the database.
+; The name of the database:
+name=/opt/firebird/data/dbreporter.fdb
+
+; Default username/password for Interbase/Firebird
+; is sysdba/masterkey. Change to your situation.
+user=sysdba
+password=masterkey
+
+; hostname of the database server (or empty for embedded):
+hostname=localhost
+
+charset=UTF8
+
+; Firebird embedded
+; Same as Firebird, except we leave the host name blank
+; and specify a db without path.
+; Make sure your Firebird embedded library files (.dll/.so/.dylib)
+; are installed; e.g. on Windows, you can put them in this
+; directory.
+[firebirdembedded]
+type=firebird
+name=dbreporter.fdb
+user=sysdba
+password=masterkey
+hostname=
+charset=UTF8
+
+; MS SQL Server database:
+[mssql]
+type=mssql
 name=dbreporter
-
-; user to log in with
-user=
-
-; password to log in with
+user=sa
 password=
-
-; hostname of the database server
 hostname=127.0.0.1
 
 ; MySQL 4.0 database:
 password=
 hostname=127.0.0.1
 
+; MySQL 5.1 database:
+[mysql51]
+type=mysql51
+name=dbreporter
+user=root
+password=
+hostname=127.0.0.1
+
+; MySQL 5.5 database (available since FPC 2.6.1):
+[mysql55]
+type=mysql55
+name=dbreporter
+user=root
+password=
+hostname=127.0.0.1
+
 ; Oracle database:
 [oracle]
 type=oracle
 password=
 hostname=127.0.0.1
 
-; Interbase or Firebird database:
-[firebird]
-type=firebird
-name=/opt/firebird/data/dbreporter.fdb
-; Default username/password for Interbase/Firebird
-; is sysdba/masterkey. Change to your situation.
-user=sysdba
-password=masterkey
-hostname=localhost
-charset=UTF8
-
-; Firebird embedded
-; Same as Firebird, except we leave the host name blank
-; and specify a db without path.
-; Make sure your Firebird embedded library files (.dll/.so/.dylib)
-; are installed; e.g. on Windows, you can put them in this
-; directory.
-[firebirdembedded]
-type=firebird
-name=dbreporter.fdb
-user=sysdba
-password=masterkey
-hostname=
-charset=UTF8
-
 ; ODBC database:
 [odbc]
 type=odbc
 password=
 hostname=127.0.0.1
 
+; PostgreSQL database:
+[postgresql]
+type=postgresql
+name=dbreporter
+user=
+password=
+hostname=127.0.0.1
+
 ; SQLite database:
 [sqlite]
 type=sqlite3
 name=dbreporter.db
 
-; MS SQL Server database:
-[mssql]
-type=mssql
-name=dbreporter
-user=sa
-password=
-hostname=127.0.0.1
-
 ; Sybase database:
 [sybase]
 type=sybase