Discussion:
unable to load libmysql.dll
(too old to reply)
Juan Ortanobas
2007-10-28 20:57:07 UTC
Permalink
Hi guys,

I'm trying to connect to mysql 5.0 from delphi 7.

The thing is that no matter where libmysql.dll is when opening the database
connection an error raises "unable to load libmysql.dll".

I have read older post at google groups and here, but sadly failed to find a
solution to my problem

this is very disapointing if someone may please let me know what am I doing
wrong it would be very much appreciated.

I have assured that libmysql.dll is accessible to delphi via PATH
environment variable.

any help please?

thanks

Juan Ortanobas
Bill Todd
2007-10-28 21:00:48 UTC
Permalink
Post by Juan Ortanobas
I'm trying to connect to mysql 5.0 from delphi 7.
I am not a MySQL user but I do recall that D7 does not support MySQL 5.
--
Bill Todd (TeamB)
Marco Caspers
2007-10-30 09:54:31 UTC
Permalink
Post by Bill Todd
Post by Juan Ortanobas
I'm trying to connect to mysql 5.0 from delphi 7.
I am not a MySQL user but I do recall that D7 does not support MySQL 5.
Nothing from Borland connects to MySQL 5.
The only exception might be D2007 (didn't test), but that's CodeGear..

--
Bill Todd
2007-10-30 13:54:23 UTC
Permalink
Post by Marco Caspers
Nothing from Borland connects to MySQL 5.
The only exception might be D2007 (didn't test), but that's CodeGear..
I believe you will find that D2007 does support MySQL 5.
--
Bill Todd (TeamB)
Stephane Wirtel
2007-11-13 12:22:09 UTC
Permalink
Post by Bill Todd
Post by Juan Ortanobas
I'm trying to connect to mysql 5.0 from delphi 7.
I am not a MySQL user but I do recall that D7 does not support MySQL 5.
You can use mysql 4 or 5 with D6, D7, I don't see why you can't to use it.
Bill Todd
2007-11-13 13:51:34 UTC
Permalink
Post by Stephane Wirtel
You can use mysql 4 or 5 with D6, D7, I don't see why you can't to use it.
The question was specifically about using dbExpress. The Borland
dbExpress driver for MySQL in D7 does not support MySQL 5. If you want
to connect to MySQL 5 in D7 you have to use a third party driver or a
different component set, for example, ADO.
--
Bill Todd (TeamB)
Anthony Williams
2007-10-30 11:19:21 UTC
Permalink
Post by Juan Ortanobas
I'm trying to connect to mysql 5.0 from delphi 7.
Which driver are you using?

As others have said, the Borland drivers don't work with MySQL 5, you need a
third-party driver for that, such as our free (LGPL) dbxexpress drivers for
MySQL 5:

http://www.justsoftwaresolutions.co.uk/delphi/dbexpress_and_mysql_5.html

Anthony
--
Anthony Williams
Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL
teo
2008-01-26 22:33:28 UTC
Permalink
Post by Juan Ortanobas
Hi guys,
I'm trying to connect to mysql 5.0 from delphi 7.
The thing is that no matter where libmysql.dll is when opening the database
connection an error raises "unable to load libmysql.dll".
I have read older post at google groups and here, but sadly failed to find a
solution to my problem
this is very disapointing if someone may please let me know what am I doing
wrong it would be very much appreciated.
I have assured that libmysql.dll is accessible to delphi via PATH
environment variable.
any help please?
thanks
Juan Ortanobas
Hello Juan,

The error depends on what components you use.. I know this from Zeos
where the libmysql.dll should be named after the MySQL version you select.

Maybe this helps.

Regards,
Teo

Loading...