Any progress on a TMySQL51Connection? lazarus / 16-Databases ---------------------------------------------------------------------- normanp · 2010-01-29 12:09 I have found that I can connect to MySQL 5.1 if I use the libmysql.dll for 5.0 with the existing TMySQL50Connection - however the appropriate libmysql.dll for 5.0 is getting hard to find and this may prevent new users from using lazarus at all for MySQL front ends. Is it known whether anyone is working on a  TMySQL51Connection? Given the popularity of MySQL I would think that many users would like a new TMySQLxxConnection as soon as MySQL updates if possible... ---------------------------------------------------------------------- theo · 2010-01-29 12:37 http://bugs.freepascal.org/view.php?id=14587 Should be fixed in FPC 2.4.0 afaics. ---------------------------------------------------------------------- normanp · 2010-01-29 13:12 Ok - thanks. ---------------------------------------------------------------------- normanp · 2010-02-23 16:35 Quote from: theo on January 29, 2010, 01:37:33 pmhttp://bugs.freepascal.org/view.php?id=14587 Should be fixed in FPC 2.4.0 afaics. FPC 2.4.0 is available so I might try upgrading (eg instructions here: http://www.lazarus.freepascal.org/index.php?topic=8310.0). I assume that this won't put a 5.1 component in the component bar, but in code I can just use TMySQL51Connection - is that correct? ---------------------------------------------------------------------- theo · 2010-02-23 16:48 Afaik the TMySQL50Connection should work. ---------------------------------------------------------------------- normanp · 2010-02-24 16:39 Quote from: theo on February 23, 2010, 05:48:59 pmAfaik the TMySQL50Connection should work. Only if you use the appropriate mysql 5.0 libmysql.dll (hard to find - see above). I have just found the updated mysqlconn.inc in Lazarus bug reports (Theo above) that is supposed to allow TMySQL50Connection to use the libmysql.dll for mysql 5.1. If I put this in \Lazarus\fpc\2.2.4\source\packages\fcl-db\src\sqldb\mysql will it just work or will I need to do Tools | Build Lazarus (which options?)? Thanks BTW the bugs site sure is slow!! ---------------------------------------------------------------------- theo · 2010-02-24 17:23 You could install the latest snapshot using FPC 2.5.1 from ftp://ftp.freepascal.org/pub/lazarus/snapshots/ ---------------------------------------------------------------------- Zoran · 2010-03-04 08:53 Zeos db components work well with MySQL 5.1 already. http://wiki.lazarus.freepascal.org/Zeos_tutorial