Mysql connection string problem

L

Lorenzo

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?
 
A

Alvin Bruney - ASP.NET MVP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top