fpc/packages/base/mysql
2007-03-24 17:26:10 +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
fpmake.inc * win64 compile fixes 2006-04-20 11:16:46 +00:00
fpmake.pp + Initial implementation 2005-06-17 16:52:17 +00:00
Makefile * re-added darwin/ppc64 support (please use up-to-date fpcmake) 2007-03-24 17:26:10 +00:00
Makefile.fpc + support for make -jX by marking all Makefiles that need to be executed 2007-01-27 11:05:18 +00:00
mkdb * svn:executable 2006-03-19 13:40:48 +00:00
my4_sys.pp * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +00:00
mysql3_com.pp * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql3_comdyn.pp * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql3_comtypes.inc * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql3_version.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
mysql3.pp * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql3dyn.pp * win64 compile fixes 2006-04-20 11:16:46 +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 * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql4_comdyn.pp * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql4_comtypes.inc * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +00:00
mysql4_version.pp * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +00:00
mysql4.pp * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql4dyn.pp * win64 compile fixes 2006-04-20 11:16:46 +00:00
mysql4impl.inc + Initial import in cvs 2005-01-24 21:59:13 +00:00
mysql4types.inc * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +00:00
mysql40.pp + initial implementation of mysql40[dyn].pp and mysql41[dyn].pp 2005-11-18 14:28:42 +00:00
mysql40dyn.pp + initial implementation of mysql40[dyn].pp and mysql41[dyn].pp 2005-11-18 14:28:42 +00:00
mysql41.pp + initial implementation of mysql40[dyn].pp and mysql41[dyn].pp 2005-11-18 14:28:42 +00:00
mysql41dyn.pp + initial implementation of mysql40[dyn].pp and mysql41[dyn].pp 2005-11-18 14:28:42 +00:00
mysql50.pp + added support for MySQL 5.0 2005-11-22 00:52:58 +00:00
mysql50dyn.pp + added support for MySQL 5.0 2005-11-22 00:52:58 +00:00
mysql.inc * fixed range check errors when compiling with -Cr 2007-03-12 21:28:31 +00:00
mysqls.c + Split everything in version 3 and version 4 2004-09-30 19:34:47 +00:00
mysqls.pp * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +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.