[Mono-osx] ODBC - MySql - Data source name not found

FairgroundTown syd at fairgroundtown.co.uk
Wed Oct 21 15:47:55 EDT 2009


(I realize this is kind-of an edge case.)

I am on OSX 10.4, running Mono 2.4.2.3.

I have both user and system ODBC DSNs set up - to MySql - and the connector
works in the ODBC Administrator dialog.

But from a Mono app, I get 'Data source name not found...' with either the
user or the system connection.

I am using the OdbcConnectionStringBuilder and it is producing a connection
string of DSN=mydsn.

If I try to use a DSN-less connection, I get exactly the same error, which
is odd, as it suggests that something is failing to parse the connection
string at all???

(I have no particular need to use MySql if another database will work - any
recommendations? I do, however, HAVE to use ODBC!)

Some hints on another forum that this may have something to do with unicode
naming, but I can't see how to address this on OSX? (The other post was on
Linux.)

Thanks
-- 
View this message in context: http://www.nabble.com/ODBC---MySql---Data-source-name-not-found-tp25994262p25994262.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list