Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Connection string not working properly in .NET application (no replies)

$
0
0
Hi,

I'm having a bit of an issue while using my connection string. My connection string looks like this:

server=remote_server;database=db_name;uid=root;password=XXXX

However, when I launch my application it seems that the connection string is defaulting to localhost becasue I get a message saying:

Access denied for user 'root'@'my_computer_name' (using password: YES)

When I blank out the password I get the following:

Access denied for user 'root'@'my_computer_name' (using password: NO)

It seems as though it is using part of the connection string, but not others. I'm simply trying to connect my application to a remote mysql instance. Has anyone experienced or know about an issue like this?

Any help is greatly appreciated! Thank you in advanced.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>