Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2002

    Unanswered: unable to load libmysql.dll

    Hi there,

    I'm new to Delphi. When starting to write my first database application ( which uses mySQL ) I already encountered the following problem: whenever I put the Connected property of the TSQLConnection object to true, I get an error saying "unable to load LIBMYSQL.DLL".

    Can anyone tell me what causes this?

    Thnx in advance!

  2. #2
    Join Date
    Jul 2001
    Bava -

    I use VB6 and mySQL in Windows. Answering these questions may help you find what your problem is:
    1) Do you have the dll on your machine?
    2) Do you have the correct version of the dll?
    3) Is the dll in the directory that mySQL says it should be in?
    4) Does Delphi know where to find the dll?
    5) Do you have to register the dll?

  3. #3
    Join Date
    Nov 2002
    I'm also using Delphi 6 & Windows (2000).
    Maenwhile this problem is already solved: seams that it was already answered somewhere else in this forum.

    The solution was to put the dll in the c:\winnt directroy. My guess is that Delphi searches only specific directories for dll's?

    Don't know if this is the best solution but it works.

    BTW: what do you mean by "registering the dll"?

    Anywayz, thanx a lot!

  4. #4
    Join Date
    Feb 2002
    There is a command in windows called regsvr32 which allows you to register dlls - usually you use this when an installation is corrupted or when you need to reference a dll that has not been registered.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts