[Mono-list] Problem with MySQL connection using ProviderFactory

Robert Jordan robertj at gmx.net
Fri Jul 22 06:21:21 EDT 2011


On 22.07.2011 12:16, Vinod wrote:
> 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*

Check the casing of "MySql.Data.dll" on disk.

The connector is notoriously distributed with this assembly
called "mysql.data.dll". Don't ask why.

Robert




More information about the Mono-list mailing list