![]() Test your DSN configuration from the nf file: tsql -S -U -P You have in your BREW_INSTALL_DIR/freetds/0.91/etc/ folder a nf file. This principle applies to the python script you supply, too! IMPORTANT If you do not supply a username and password, you will get an error and not create a connection. ![]() That means you have made a connection! Type exit. You should get something like: locale is "en_US.UTF-8" Also install homebrew followed with brew update and brew doctor. Prerequisites: Be sure you have XCode and the Commandline Tools for XCode installed from Apple. I also found unixodbc was unnecessary and I couldn't get it to play well with FreeTDS, so this install does not include unixodbc. After spending many hours trying to get FreeTDS and unixodbc to run on a Mac OS X 10.8 system with the python module, pyodbc, I eventually came to this recipe, which is remarkably simple thanks to homebrew. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |