osx 10.7 下的 odbc
自过去几个小时以来,我一直在尝试在 MacOSX 10.7 (Lion) 下安装 ODBC 驱动程序...但我无法让它工作。我需要一个 RODBC 包来处理数据库。 在 10.6 下一切正常:-\ 旧的驱动程序已安装,但当我使用 /usr/bin/iodbctest
测试它时,我收到以下消息:
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0607.1008
Enter ODBC connect string (? shows list): ?
DSN | Driver
------------------------------------------------------------------------------
lugv | MySQL ODBC 5.1 Driver
Enter ODBC connect string (? shows list): lugv
1: SQLDriverConnect = [iODBC][Driver Manager]dlopen(/usr/local/lib/libmyodbc5.so, 6): no suitable image found. Did find:
/usr/local/lib/libmyodbc5.so: mach-o, but wrong architecture (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
当我下载最新的 MYSQL ODBC 连接器时,它不再编译,也不再运行没有手册中提到的 bin 或 lib 文件夹...
有人有想法吗?
谢谢!
I'm trying to install an ODBC driver under MacOSX 10.7 (Lion) since the last few hours... But I can't get it to work. I need one for the RODBC package in R to work with a DB.
Under 10.6 everything worked fine :-\
The old drivers are installed, but when I test it with /usr/bin/iodbctest
I get the following message:
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0607.1008
Enter ODBC connect string (? shows list): ?
DSN | Driver
------------------------------------------------------------------------------
lugv | MySQL ODBC 5.1 Driver
Enter ODBC connect string (? shows list): lugv
1: SQLDriverConnect = [iODBC][Driver Manager]dlopen(/usr/local/lib/libmyodbc5.so, 6): no suitable image found. Did find:
/usr/local/lib/libmyodbc5.so: mach-o, but wrong architecture (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
When I download the newest MYSQL ODBC Connector, it doesn't compile anymore and also doesn't have a bin or lib folder as mentioned in the manual...
Does someone have an idea?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论