Sudo sed -i '' "s/$(sed 's///g s/\^/\\^/g' ) and paste the script above. ![]() Sudo cp -f "$odbcinst_ini_path" "$odbcinst_ini_bak_path" Sudo cp -f "$odbc_ini_path" "$odbc_ini_bak_path"Įcho "backing up '$odbcinst_ini_path' to '$odbcinst_ini_bak_path'" Odbcinst_ini_bak_path="$odbcinst_ini_path.bak"Įcho "backing up '$odbc_ini_path' to '$odbc_ini_bak_path'" Odbcinst_ini_path="$odbc_dir/odbcinst.ini" ![]() Mysql_odbc_name=$(ls "$base_src_dir" | grep -m 1 "mysql-connector-odbc") I found the following script (Sam/samsgit on ) doing this in a perfect way: #!/bin/bash You’ll have to move the installation to /Library/ODBC … And you have to do some more modifications. The Microsoft Office solution under macOS is a Sandboxed application and doesn’t have access to the default installation path of the ODBC/Connector (/usr/local/mysql-connector-odbc ….). Now that the iODBC package is installed, this installation works without the error message “The installation failed”.Īnd now a step that makes the use with Excel possible. You’ll find the installation packet here. You’ll find the iODBC Administrator in “Programs -> iODBC”īefore using the iODBC Administrator download an install the ODBC/Connector for MySQL. Error message if you want to install the MySQL Connector/Odbc Specified driver could not be loaded Error message in Excel, if you want to address the database And now, how it worked for meįirst of all you have to install the iODBC (3.52.12 or later) environment on the OS X system before your can install the Connector/ODBC. Contact the software manufacturer for assistance. The Installer encountered an error the caused the installation to fail. I’ll spare you all the details of failure and just list a few of the error messages on the way to success: Next start Excel, external datasource, select DSN and voila: full access to the database. Using a Windows environment it is so pretty simple: Download ODBC driver for Windows from the mySQL Webpage, install it, open the system control -> ODBC configuration, add a DSN using input fields, test it. ![]() ![]() Ever tried to access a mySQL database within Excel on macOS using the ODBC driver (64bit)? – I tried and failed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |