Jonas Maebe b4ac7d2949 Merged revisions 12210-12306 via svnmerge from 17 years ago
..
scripts 149c56bb55 * Basic moving and updating of mysql. makefile.fpc's included, regened makefiles not. 17 years ago
src b4ac7d2949 Merged revisions 12210-12306 via svnmerge from 17 years ago
tests 149c56bb55 * Basic moving and updating of mysql. makefile.fpc's included, regened makefiles not. 17 years ago
Makefile 99994c0603 Merged revisions 11879-11880,11884-11888,11890,11896-11898,11903-11919,11926-11930,11933-11934,11936-11937,11939-11940,11942-11985,11987-11991,11993-12013,12015-12017,12019-12040,12043,12045,12047-12050,12054,12056-12057,12059-12062,12064-12066,12073,12075,12077-12078,12082,12085,12087-12088,12092-12094,12099,12106-12110,12114,12117-12122,12125,12128-12131,12138,12141-12143,12152-12160,12162-12163,12166-12171,12173-12176,12196,12198-12205 via svnmerge from 17 years ago
Makefile.fpc 99994c0603 Merged revisions 11879-11880,11884-11888,11890,11896-11898,11903-11919,11926-11930,11933-11934,11936-11937,11939-11940,11942-11985,11987-11991,11993-12013,12015-12017,12019-12040,12043,12045,12047-12050,12054,12056-12057,12059-12062,12064-12066,12073,12075,12077-12078,12082,12085,12087-12088,12092-12094,12099,12106-12110,12114,12117-12122,12125,12128-12131,12138,12141-12143,12152-12160,12162-12163,12166-12171,12173-12176,12196,12198-12205 via svnmerge from 17 years ago
README 64cd433e22 * removed exces files + mysql/readme move 17 years ago
fpmake.pp 99994c0603 Merged revisions 11879-11880,11884-11888,11890,11896-11898,11903-11919,11926-11930,11933-11934,11936-11937,11939-11940,11942-11985,11987-11991,11993-12013,12015-12017,12019-12040,12043,12045,12047-12050,12054,12056-12057,12059-12062,12064-12066,12073,12075,12077-12078,12082,12085,12087-12088,12092-12094,12099,12106-12110,12114,12117-12122,12125,12128-12131,12138,12141-12143,12152-12160,12162-12163,12166-12171,12173-12176,12196,12198-12205 via svnmerge from 17 years ago

README

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.