MySQL Forums
Forum List  »  Newbie

Connection Problem using delphi
Posted by: Tony Edwards
Date: May 11, 2005 08:30AM

I am trying to access MySQL 4.1.11 and get the above error. I am using libmySQL.dll dated 11 October 2004, 16:03:42 and my mySQL.pas with Delphi 6. The code fails on the following line

if mysql_real_connect(MySQL, pChar(MyHost), pChar(MyUser), pChar(MyPass), pChar(MyDatabase), MyPort, nil, MyComp) = nil then Fail;

The code complies and the elements of the call to the dll seem to be ok

I have tried different versions of the dll but get the same error

Any ideas

Thanks

Tony

Options: ReplyQuote


Subject
Written By
Posted
Connection Problem using delphi
May 11, 2005 08:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.