I work with FPC 2.5.1 and there is alreday TMySQL51Connection component. May be, that this was not backported to FPC 2.4.2 ?
Lacak2:
See my response in this thread:
http://lazarus.freepascal.org/index.php/topic,9971.0.htmlMarcW: 5.1 is compatible. The trouble however is that you can't know this beforehand with MySQL, and their version numbers don't help either.
So we can't enable future versions till we have enough user feedback that we know they are compatible (or deal with spurious bugreports).
You can also see the dilemma here, either way we get trouble (not compatible->crashes and spuroious bugreports, compatible-> not prepared and have to inform heaps of people to create symlinks).
So in short, most of the DB people recommend you avoid mysql if you can. I know you can't always, but at least try. Both Interbase/Firebird and PostgresSQL are the logical choices.
Currently, MySQL 5.5 is the next accident waiting to happen.