MySQL Forums
Forum List  »  Delphi

Re: Help!!!Something wrong
Posted by: jurekk jurekk
Date: November 16, 2006 01:09AM

i have same problem with connecting to remote mysql database,
delphi shows this message: access denied for user 'testik'@'localhost' but a have defined servername by ip address. so why is localhost in message?

var
Connection: TSQLConnection;
begin
Connection := TSQLConnection.Create(nil);
Connection.DriverName := 'dbxmysql';
Connection.GetDriverFunc := 'getSQLDriverMYSQL';
Connection.LibraryName := 'dbxopenmysql41.dll';
Connection.VendorLib := 'libmysql.dll';
Connection.Params.Append('Database=testik');
Connection.Params.Append('User_Name=testik');
Connection.Params.Append('Password=testik');
Connection.Params.Append('HostName=62.168.126.6');
Connection.Open;

Options: ReplyQuote


Subject
Written By
Posted
May 08, 2006 12:12AM
Re: Help!!!Something wrong
November 16, 2006 01:09AM


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.