MySQL Forums
Forum List  »  Newbie

dbProvider driver - MySQL.NET - can't connect remotely
Posted by: dave_helmut
Date: May 16, 2005 12:45PM

Hi,

I have a C# example which works from the same machine as the database. If I submit "localhost" in the connection string, it works from the same machine.

If I submit "COMPUTERNAME" from a remote machine, I get this error:

"Access denied for user ''@'%' to database 'csharpvqs' "

I also get this error from the local machine if I change "localhost" to :COMPUTERNAME".

The connect stings:

Remote and locally do not work:
"Data Source=COMPUTERNAME;uid=;pwd=;database=csharpvqs"

Locally this works:
"Data Source=localhost;uid=;pwd=;database=csharpvqs"

Any ideas?

MySQL v4.1.11, VisStud 2003, eInfoSystems.dbProvider.

Options: ReplyQuote


Subject
Written By
Posted
dbProvider driver - MySQL.NET - can't connect remotely
May 16, 2005 12:45PM


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.