I was trying to fix the error Incorrect string value error, which happens when I send characters like ç to the MySQL server through the application (Excel > ADODB). Inside MySQL Workbench I can use those characters with no problems.
解决这个问题的方法是在驱动程序中设置字符集(ODBC Data Source Administrator (64-bit)
> MySQL ODBC 5.3 Unicode driver
> Details
> Charset
> utf8
).
我尝试通过应用程序端的命令设置字符集来修复它(ADODB.Connection.Open
> CHARSET
),但没有成功。
我有点困惑,因为我读到字符集适用的范围不同:客户端、连接、服务器、数据库、表、列......
是否可以通过应用程序端的命令修复该错误(在我的例子中,通过 ADODB for VBA)?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)