fpc/packages/base/mysql
fpc 790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
..
ver40 * truncate log 2005-02-14 17:13:06 +00:00
ver322 * log and id tags removed 2005-05-21 09:42:41 +00:00
ver323 * log and id tags removed 2005-05-21 09:42:41 +00:00
Makefile * mysql3dyn 2005-05-05 13:39:58 +00:00
Makefile.fpc * mysql3dyn 2005-05-05 13:39:58 +00:00
mkdb
mysql3_com.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
mysql3_comdyn.pp + MySQL 3 dynamic connection by Bram Kuijvenhoven 2005-03-25 12:03:53 +00:00
mysql3_comtypes.inc + MySQL 3 dynamic connection by Bram Kuijvenhoven 2005-03-25 12:03:53 +00:00
mysql3_version.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
mysql3.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
mysql3dyn.pp + MySQL 3 dynamic connection by Bram Kuijvenhoven 2005-03-25 12:03:53 +00:00
mysql3impl.inc + MySQL 3 dynamic connection by Bram Kuijvenhoven 2005-03-25 12:03:53 +00:00
mysql3types.inc + MySQL 3 dynamic connection by Bram Kuijvenhoven 2005-03-25 12:03:53 +00:00
mysql4_com.pp - Statical linked MySQL 4.0 now also works on win32 2005-04-01 13:38:16 +00:00
mysql4_comdyn.pp - some cleanups 2005-02-04 18:15:48 +00:00
mysql4_comtypes.inc
mysql4_version.pp
mysql4.pp - Statical linked MySQL 4.0 now also works on win32 2005-04-01 13:38:16 +00:00
mysql4dyn.pp - some cleanups 2005-02-04 18:15:48 +00:00
mysql4impl.inc
mysql4types.inc * fixed MYSQL_ROW_OFFSET declaration 2005-04-22 20:36:51 +00:00
mysqls.c
mysqls.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
README
rmdb
testdb3.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
testdb4.pp * log and id tags removed 2005-05-21 09:42:41 +00:00

This is the MySQL interface of Free Pascal.

You need at least compiler version 0.99.8 to compile this.

To Compile under Linux
- You must know where the mysql libraries are.
- You must know where libgcc is.

The units come in 2 flavours:
- mysql3*.pp  : version 3.23 of mysql.
- mysql4*.pp  : version 4.0 of mysql.
These versions are substantially different.

Both these things must be set in the Makefile. After that a simple 'make'
and 'make install' should compile and install everything.

You can test with 'make test', but this supposes that there is a 'testdb'
database available. If not, you must run
  mkdb databasename
  testdb databasename
  rmdb databasename
manually. You need create permission on the database for this to work.

Win32 users: There are multiple .dll files circulating around. 
you should fix the statement
mysqllib = 'libmysql'
in the mysql unit, so it matches the version you have.

Enjoy !



Michael.