fpc/packages/base/mysql
joost 4a94fc2ccd + Fixed dyn. loading for mysql 5.0
git-svn-id: trunk@2023 -
2005-12-21 12:33:14 +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 + Initial implementation 2005-06-17 16:52:17 +00:00
fpmake.pp + Initial implementation 2005-06-17 16:52:17 +00:00
Makefile * updated makefiles for ppc64/linux to allow successful snapshot building on that platform 2005-12-16 20:37:08 +00:00
Makefile.fpc + added support for MySQL 5.0 2005-11-22 00:52:58 +00:00
mkdb * splitted to base and extra 2002-01-29 17:54:48 +00:00
my4_sys.pp * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +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 * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +00:00
mysql4_comdyn.pp * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +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 * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +00:00
mysql4dyn.pp * updated everything to MySQL 4.1.10a 2005-07-09 20:13:26 +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 dyn. loading for mysql 5.0 2005-12-21 12:33:14 +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.