[Mono-dev] mysql connector error

Fatih Soydan [Personal] fatihsoydan at fatihsoydan.com
Mon Oct 15 06:09:57 UTC 2012


System.ArgumentException: Encoding name 'latin5' not supported
Parameter name: name
  at System.Text.Encoding.GetEncoding (System.String name) [0x00000] in
<filename unknown>:0 


_____________________________________________
From: Fatih Soydan [Personal] [mailto:fatihsoydan at fatihsoydan.com] 
Sent: Monday, October 15, 2012 8:53 AM
To: mono-devel-list at lists.ximian.com
Subject: mysql connector error


Hi;

I want to connect a mysql db from mono Project with mysql connector. When i
use Windows and .net framework 4, everthing is ok. But when i use mono, i
have a problem.

When i use this connection string :
Server=10.1.60.2;Database=adb;Uid=root;Pwd=apass;Allow Zero
Datetime=true;Character Set=latin5;

Server said that : 
Encoding name 'latin5' not supported Parameter name: name

But problem is not limited about latin5, same issue on utf8, latin1  . 
If i select a wrong  character set, it's working like this :
Server=10.1.60.2;Database=ark_ adb;Uid=root;Pwd= apass;Allow Zero
Datetime=true;Character Set=ThereIsAProblem;



I am very confused . Please help .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20121015/10e216ef/attachment.html>


More information about the Mono-devel-list mailing list