471,627 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Mysql connection string problem

I have a problem with oledb connection string of Mysql for .NET
I installed MyOleDB3.exe Mysql server version 4.1.8-nt
I used this connection string :

strConnectionString="Provider=MySqlProv;Persist Security
Info=True;Location=10.0.0.17;Data Source="+strDatabase+";User
Id="+strUser+";Password="+strPassword+";";

I used OleDbConnection class to connect to MySql
The constructor returns correctly, but
when I call the method Open
the application displays a Dialog with this title
'MYSQL Data Source Name Setup '

Someone can help me?

Dec 2 '05 #1
1 1780
you can find more help on the mysql support site. there are examples to
connect using .net

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Lorenzo" <lg***********@inwind.it> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I have a problem with oledb connection string of Mysql for .NET
I installed MyOleDB3.exe Mysql server version 4.1.8-nt
I used this connection string :

strConnectionString="Provider=MySqlProv;Persist Security
Info=True;Location=10.0.0.17;Data Source="+strDatabase+";User
Id="+strUser+";Password="+strPassword+";";

I used OleDbConnection class to connect to MySql
The constructor returns correctly, but
when I call the method Open
the application displays a Dialog with this title
'MYSQL Data Source Name Setup '

Someone can help me?

Dec 2 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jon Dellaria | last post: by
5 posts views Thread by Tom Martin | last post: by
reply views Thread by sridhar nagabhurshana | last post: by
reply views Thread by Mike Chirico | last post: by
reply views Thread by hiisikukko | last post: by
11 posts views Thread by DJJ | last post: by
oll3i
5 posts views Thread by oll3i | last post: by
1 post views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.