[Mono-list] Problem with MySQL connection using ProviderFactory

Vinod baligavinod at gmail.com
Fri Jul 22 06:16:31 EDT 2011


Guys,

I have got another problem :-(

I am trying to port my provider independent DAL to Mono. It compiles fine.
But when I try to execute the code I get the following error:

/*Failed to find or load the registered .Net framework data provider
Mysql.Data.Mysqlclient*/

My connection string: *server=localhost;User Id=root;Password=pass;Persist
Security Info=True;database=mydb*

I have given provider as : *MySql.Data.MySqlClient*

I have downloaded the mono connector from 
http://dev.mysql.com/downloads/connector/net/#downloads here  and followed
the guide from 
http://dev.mysql.com/doc/refman/5.1/en/connector-net-installation-unix.html
here  to install the Mysql dll into the gac. I used the dll from the v4
directory.

Can someone tell me what mistake I am doing?

-Vinod

--
View this message in context: http://mono.1490590.n4.nabble.com/Problem-with-MySQL-connection-using-ProviderFactory-tp3686395p3686395.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110722/25c4e13c/attachment.html 


More information about the Mono-list mailing list