MySQL Client error [SOLVED] lazarus / 16-Databases ---------------------------------------------------------------------- DanishMale · 2012-07-19 22:47 Hi I am trying to connect to MySQL with TMySQL51Connection which apparently is the wrong connection, hence the error message. How do I get a MySQLConn 6.0.0? Client machine: Windows 7 x64 and Lazarus 0.9.30.4 Server: Windows 2003 x86 and MySQL 5.5.18 ---------------------------------------------------------------------- Leledumbo · 2012-07-20 00:42 I believe the latest component we have is TMySQL55Connection, and it's still in trunk (next release maybe). If you want to get your hands dirty, feel free to create one or a better solution: change your dbms, mysql sucks in terms of backward compatibility. ---------------------------------------------------------------------- ludob · 2012-07-20 06:08 Using a 6.0 client with a 5.5 database is afaik not supported. You can use older clients with a database but not newer clients. As leledumbo mentioned, MySQL is bad in backwards compatibility but don't expext anything in forwards compatibility. If you don't want to ugrade your lazarus/fpc instalation your easiest solution is to find a 5.1 client. 5.1 clients work well with 5.5 databases. You won't have the latest bug fixes in the client nor the latest client features but TMySQL55Connection isn't using any of these new features. ---------------------------------------------------------------------- DanishMale · 2012-07-20 09:13 Basicly I would use any client just it works! However I can not find an 5.1 client ---------------------------------------------------------------------- BigChimp · 2012-07-20 09:39 What about this page: http://dev.mysql.com/downloads/mysql/5.1.html/ No idea which parts are the server, and which the client but I'm sure you'll figure it out ---------------------------------------------------------------------- DanishMale · 2012-07-20 09:44 Worked perfectly thanks for all your help