Include the 'mysql' unit in your uses...
I believe the mysql unit is now distributed with the FreePascal packages so you probably already have it, but if not you can also get it here:
http://www.freepascal.org/packages/mysql.html
There is a sample program called 'testdb.pp' that includes examples of how to use several of the mysql functions -- such as: mysql_connect(), mysql_error(), mysql_select_db(), mysql_query, etc...
Karl Steffen Schmidt wrote 16 lines
Hello,
can anybody tell me how to access MySQL from FreePascal. My
operatingsystem is SuSE Linux 7.0 Pro. Where can I get any information or
documentation?
Thanx
kss
_______________________________________________
fpc-pascal maillist -
http://lists.freepascal.org/mailman/listinfo/fpc-pascal