Open vancaho opened 2 years ago
On 23/03/2022 10:47, vancaho wrote:
Hi, I prepare two DSNs, one with the ANSI driver and the other with unicode driver in Macos 12.3.
|➜ cat ~/.odbc.ini [ODBC Data Sources] test = MySQL ODBC 8.0 Unicode Driver test2 = MySQL ODBC 8.0 ANSI Driver|
|My guess would be something going wrong between what the driver and the driver manager is expecting as unicode. unixODBC uses UTC-2 or UTF16 as its unicode, maybe the driver expects a 4 byte representation. I would look at driver debugging.|
It's a strange error, for sure. I notice that the [test2]
DSN which succeeds lacks the DATABASE = ftta-projects
connection attribute. Perhaps removing that line from [test]
and/or adding it to [test2]
will change your results in a helpful way.
I don't expect the above to bring a better error message when testing the Unicode driver, because I think the line Message Text = [[]
in that test log suggests @lurcher may be on the right track, thinking about conflicting Unicode representations/expectations.
Hi, I prepare two DSNs, one with the ANSI driver and the other with unicode driver in Macos 12.3.
The
isql
command works fine with the test2 DSN ofMySQL ODBC 8.0 ANSI Driver
:but
iusql
fails withtest
DSN ofMySQL ODBC 8.0 Unicode Driver
:I opened the log file after running
iusql
, it reports that:What is the problem with
iusql
?