MS Access 2013 (MS Office 365 Pro-Plus)
Windows 7 Enterprise SP1
MariaDB 10.0.19 loaded to a VM on a Linux server
MariaDB 1.0.5 ODBC connector
MySQL 5.5.21 loaded on Windows 2008 server
MySQL 5.2 Unicode ODBC Connector
I have one primary application using MS Access as a Front End to a MySQL backend.
I actually have several with single user, but one primary application with multiple users.
The server hosting MySQL is an old box scheduled to be decommissioned soon. It is a physical box located on-site.
The new server has MariaDB installed, and I need to migrate my FE apps to it.
I have been unable to successfully connect to MariaDB using the connection string below.
Also listed below is the connection string that I have successfully used for MySQL since 2011 for MySQL.
One side note, I have discovered during my research that (for MariaDB versions prior to 10.1.x) the optimizer_switch
default value for ‘engine_condition_pushdown’ is OFF, and should be set to ON. This has more to do with the WHERE
clause processing for SQL statements. I can’t even get a connection!
This is the full connection string I have used (password mocked here) for four years to MySQL as a DSN-less connector for pass-thru queries:
ODBC;DRIVER={MySQL ODBC 5.2w Driver};SERVER=qcyce1;DATABASE=master_repository;UID=root;PWD=mypassword;PORT=3306;
CONNECTION TIMEOUT=15;COLUMN_SIZE_S32=1;DFLT_BIGINT_BIND_STR=1;LANGUAGE=us_english;CHARSET=utf8mb4;AUTO_IS_NULL=1;FOUND_ROWS=1;
This is the MariaDB version I have tried unsuccessfully:
ODBC;DRIVER={MariaDB ODBC 1.0 Driver};SERVER=qcyops;DATABASE=master_repository;UID=root;PWD=mypassword;PORT=3306;
CONNECTION TIMEOUT=15;COLUMN_SIZE_S32=1;DFLT_BIGINT_BIND_STR=1;LANGUAGE=us_english;CHARSET=utf8mb4;AUTO_IS_NULL=1;FOUND_ROWS=1;
I have also tried this bare-bones string just to see if I can make it work (still unsuccessful):
ODBC;DRIVER={MariaDB ODBC 1.0 Driver};SERVER=qcyops;DATABASE=master_repository;UID=root;PWD=mypassword;PORT=3306;
I can successfully connect MySQL workbench, Heidi SQL, and NetBeans to MariaDB and run SQL etc.
I have a similar problem in MS Excel, but it simply crashes.
When I actually do create a DSN I get the error message (URL address mocked):
ODBC call failed.
Access denied for user ‘root@###.##.##.###’ (using password: NO) #1045
I’m assuming it is something simple that I have overlooked.
Hoping someone has a possible solution to my problem?
Thanks! Scott