MySQL via ODBC: "Could not determine the driver name so could not lookup setup library (HY000)"

Applies to: Clarion 6.1.9031 ABC as reported; MyODBC 3.51.10 with MySQL 4.0 / 4.1 (2005).

Problem

A remote user tests the MySQL DSN from the ODBC control panel and connects. The Clarion application then fails with "File Vehicles could not be opened. Error: Could not determine the driver name so could not lookup setup library. (HY000). Press Ok to end this application".

Solution

  1. The message came with the MyODBC 3.51.10 driver. The developer's own machine ran 3.51.09 and worked; the user had downloaded the newest driver that day. A report of the same failure on the MySQL MyODBC list was the pointer (lists.mysql.com/myodbc/9860).
  2. Remove 3.51.10 and install 3.51.09 (the poster's words: "Get rid of 3.51.10. Its broken.").
  3. A second poster reproduced the error after a clean install of MySQL 4.1.9 with ODBC 3.51.10.2, a DSN update and a recompile; the same downgrade was the advice he got.

Caveats

  • A second reading in the thread: the message says the driver name is not right, so check that the DSN names an installed driver exactly.
  • The thread does not record whether the second poster's case cleared after the downgrade.
  • The user was remote, so the installed driver version could only be confirmed from screen shots.

Today (2026)

The MyODBC 3.51 series is long replaced by MySQL Connector/ODBC, so the 3.51.10 defect itself does not apply. If the message shows up on a current build the likely cause is the second reading: the DSN's driver name does not match a driver installed for the application's bitness. Not re-tested.

Sources: Mark R. (Jan 2005, the question), David H., Arnor B., Guillermo S. (Jan-Feb 2005) in softvelocity.clarion.databasedrivers.