954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

libmysql.dll in delphi 7

Hi Everyone,

I am having some trouble with the libmysql.dll file in Delphi 7. When I try to connect to a database with the dbexpress MySQL driver, i get the error "Unable to load libmysql.dll". I have tried the following to resolve my problem:installing different versions of MySQL (4.1, 5.1, 5.5)
adjusting the PATH Variable with each installation of MySQL
copying the libmysql.dll file from the MySQL directory to the project and bin directories of Delphi
getting a copy of the libmysql.dll file from my colleagues with working installations
radjusting the PATH Variable
Copying the file everywhere which seems appropriate

I am running Windows XP in a Virtual Box on my Mac.

I have been struggling with this for almost a week, and I cant seem to get it working. Any help at all would be most appreciated.

Kindly,

Erik

Fudgey
Newbie Poster
1 post since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

Simple move the libmysql.dll into the same folder as the program exe.

Yours
Simon

Simon180
Light Poster
29 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: