fpc/packages/base/mysql
peter 4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +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 * remove $Log 2005-06-07 09:47:55 +00:00
mkdb * splitted to base and extra 2002-01-29 17:54:48 +00:00
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 + Dynamic library implementation by Joost van der Sluis 2005-01-24 10:58:26 +00:00
mysql4_version.pp + Split everything in version 3 and version 4 2004-09-30 19:34:47 +00:00
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 + Initial import in cvs 2005-01-24 21:59:13 +00:00
mysql4types.inc * fixed MYSQL_ROW_OFFSET declaration 2005-04-22 20:36:51 +00:00
mysqls.c + Split everything in version 3 and version 4 2004-09-30 19:34:47 +00:00
mysqls.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
README + Split everything in version 3 and version 4 2004-09-30 19:34:47 +00:00
rmdb * splitted to base and extra 2002-01-29 17:54:48 +00:00
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.