MySQL 5.0.15-nt - Requested database driver was not found
Posted: 02.02.2007, 13:12
I have copied the DLL from my MySQL install to System32 and renamed it from libmySQL.dll to libmySQL50.dll, but when I try and make a connection I get an exception with the message "Requested database driver was not found". I have tried both below codes (password removed):
I have also tried the DLL that comes with ZeosLib. Is there a difference?
Any suggestions would be welcome...
Many thanks, K.
Code: Select all
conn := DriverManager.GetConnection('zdbc:mysql-5.0://localhost:3306/testdb?username=root;password=******');
Code: Select all
conn := DriverManager.GetConnection('zdbc:mysql-5://localhost:3306/testdb?username=root;password=******');
Any suggestions would be welcome...
Many thanks, K.