monoããã®MySQLæ¥ç¶ã«å¸æã®å ï¼
ãããä¸ã®è³æãMySQLã®ãªãã£ã·ã£ã«ãµã¤ãã«ã¯ãç°¡åã«ã§ããããçãªäºãæ¸ãã¦ããã®ã ããä½åº¦ãã£ã¦ãã©ããã£ã¦ãmonoä¸ã§ã¯MySQL Connector/Netãä¸æãåããªãã£ãã
ã©ããã£ã¦ãæå¾ã®æå¾ã§ä¾å¤ãåãã¦æ»ã¬ã
ããããï¼å¹´ããããµã¨æã£ãã¨ãã«ææ¦ãã¦ããã®ã ãããªããªãä¸æããããªãã
ãã¾ãmonoã ããªããã¨åã°è«¦ãã¦ããã®ã ããæ¬æ¥ãããªè¨äºãçºè¦ã
ãMonoã§ä»ã®DBã使ã£ã¦ã¿ããï¼ï¼PostgreSQLãMySQLç·¨ï¼ ã
http://codezine.jp/article/detail/2913?p=4
å½åããConnector/Net 5.2.3ãã®ãWindows Binaries, no installer ï¼ZIPï¼ãçã使ç¨ããæ¥ç¶ç¢ºèªãè¡ã£ãã¨ãã
Unhandled Exception: System.ArgumentException: Encoding name 'sjis' not supported
Parameter name: nameã¨ããä¾å¤ãçºçãã¾ãããããã§ãSources (ZIP)ãçã確èªãã¦ã¿ãã¨ãã½ã¼ã¹è³æºå ã®ãCharSetMap.csãã«ä»¥ä¸ã®ä¿®æ£ãè¡ãå¿ è¦ããããã¨ãåããã
104è¡ç®
mapping.Add("sjis", new CharacterSet("sjis", 2));
å¤æ´
mapping.Add("sjis", new CharacterSet("shift_jis", 2));ã次ã®æé ã§å¯¾å¿ãè¡ãã¾ããã
ã¾ããï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼
MySQLã®ã³ã¼ããééã£ã¦ãã®ãâ¦ä¿ºãçãã£ããã
帰ã£ã¦æ©éãã£ã¦ã¿ãï¼ï¼