[fpc-pascal]How to use MySQL with freepascal?

j.urban urban at sound.scc.net
Sat Feb 24 21:11:48 CET 2001


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...


On Sat, 24 Feb 2001, Karl Steffen Schmidt wrote:

> 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  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 





More information about the fpc-pascal mailing list