-
16 votesanswersviews
PyODBC:即使它存在也无法打开驱动程序
我是linux世界的新手,我想从Python查询Microsoft SQL Server . 我在Windows上使用它,它非常好,但在Linux中它非常痛苦 . 几个小时后,我终于成功使用unixODBC在Linux Mint上安装Microsoft ODBC驱动程序 . 然后,我 Build 了一个带有python 3环境的anaconda . 然后我这样做: import pyodbc as... -
0 votesanswersviews
适用于Linux的SQL Server的Microsoft ODBC驱动程序11是否与SQL Server 2014兼容
我正在尝试使用Microsoft ODBC驱动程序 11 for SQL Server连接运行SQL Server 2014的SQ:Server实例 . 尝试连接时收到以下错误消息:ERROR SQLDriverConnect():失败:[HYT00] [unixODBC] [Microsoft] [SQL Server的ODBC驱动程序11]登录超时已过期 . Microsoft版本驱动程序的... -
1 votesanswersviews
在OS X上使用pyodbc连接到Teradata
我是Mac的新手,并且试图让pyodbc工作时遇到问题 . 我安装了: Teradata ODBC驱动程序来自https://downloads.teradata.com/download/connectivity/teradata-odbc-driver-for-mac-os-x unixodbc通过brew通过pip install pyodbc 当我尝试使用以下连接字符串创建... -
0 votesanswersviews
RODBC ERROR:状态IM002,代码0,消息unixODBC驱动程序管理器]未找到数据源名称,并且未指定默认驱动程序
我想使用RODBC从MSSQL获取数据,我在Macbook上安装了unixodbc和FreeTDS .odic.ini,odbcinst.ini和freetds.conf文件如下 . 但是,R错误是 odbcConnect(dsn =“RichardDSN”,uid =“**”,pwd =“****”)1 -1警告消息:1:在odbcDriverConnect中(“DSN = RichardD... -
3 votesanswersviews
FreeBSD unixODBC FreeTDS上的“未知主机名 . ”
我从FreeBSD 10.1服务器连接到Microsoft SQL Server 2012时遇到了一些问题 . 我通过端口安装了FreeTDS和unixODBC . 我使用unixODBC支持编译了FreeTDS . 这是我的freetds.conf: [server1] host = 192.168.100.147 port = 1433 tds versio... -
2 votesanswersviews
如何在Linux Ubuntu上配置freetds和unixodbc
我正在尝试在Linux上创建与Linux上的freetds unixodbc连接到数据库的连接,我配置了/etc/freetds/freetds.conf,/etc/odbc.ini和/etc/odbcinst.ini: freetds.conf: A typical Microsoft server [wsus] host = my-ip-sql-server port = 1433 ... -
9 votesanswersviews
如何在Linux中安装freetds?
我试图从Ubuntu连接到MSSQL服务器 . 我安装了像建议here这样的freetds . 但是,当我尝试配置/etc/odbc.ini并输入驱动程序路径时,我在位置 /usr/local/freetds/lib/libtdsodbc.so 没有驱动程序 . 有人可以帮我安装freetds并配置odbc来使用它吗? * edit1:我在/ usr / lib / x86_64-linux-... -
1 votesanswersviews
[IM002] [unixODBC] [驱动程序管理器]未找到数据源名称,并且在通过isql连接时没有默认驱动程序指定的消息
我正在尝试将Rattle连接到MySQL数据库 . Rattle和MySQL都在我的笔记本电脑上(ubuntu 14.04) . 由于Rattle仅通过ODBC连接到MySQL,因此我按照post here来安装ODBC . 我做了以下 使用以下命令安装ODBC驱动程序 apt-get install libmyodbc unixodbc-bin 我的ODBC驱动程序位置如下 root ... -
0 votesanswersviews
未找到isix异常unixODBC数据源名称
我想在我的Linux机器中将我的php应用程序与SQL服务器连接起来 . 我成功安装了unixODBC并在odbc.ini和odbcinst.ini文件中进行了必要的更改 . 当我运行命令 . <br><b>sqlcmd -S DSN -U USERNAME -P Password</b> 我能够连接到sql server,但是当我尝试使用isql (is... -
6 votesanswersviews
如何使用pyodbc连接到vertica
我已阅读iODBC documentation关于 odbc.ini 和Vertica documentation . 我也看到了一个问题with the same error,但可以't get the connection string to work as suggested in the previous question'回答 . What I currently have: /etc/... -
0 votesanswersviews
CentOS 6.7和Windows MSSQL连接 - FreeTDS和PHP
我搜索了与我的问题相关的答案,但没找到我正在寻找的东西 . 我有Linux CentOS 6.7的服务器 . 我需要在Windows Small Business Server 2003上连接到MS SQL Server 2005.在CentOS中我安装了FreeTDS,并设法使用以下命令从终端连接到SQL Server: # TDSVER=7.0 tsql -H ServerIPAdress -... -
1 votesanswersviews
PostgreSQL驱动程序在SQLColAttribute崩溃崩溃
Description :我使用postgresql数据库作为后端,连接到 postgresql with unixodbc driver manager and libodbc++ library and psqlodbc driver . 当我尝试运行我的应用程序来查询某些数据时,它正在崩溃 . 它随机功能崩溃了 . 我无法准确追踪它崩溃的功能 . 它崩溃了三个功能,如 1. SQLColA... -
0 votesanswersviews
Ubuntu 14.04与Sybase SQL Anywhere的Codeigniter ODBC连接9
我使用CodeIgniter2.3 Framework创建一个应用程序,它需要连接到 Windows Server 上的Sybase SQL Anywhere 9 . 我已经在Windows Server中创建了ODBC,因此Web应用程序可以使用它 . 当我将Web应用程序放在 Apache server located on Windows 上时,它 successfully 使用PDO_OD... -
1 votesanswersviews
使用PHP 5.1.6与IBM DB2进行ODBC连接
我正在使用CentOS 5.6版(最终版)和PHP 5.1.6(cli)(内置:2012年2月2日18:24:47) . 我需要连接同一本地网络中的DB2数据库服务器 . Db2版本是V5R3 . 我已经安装了iSeriesAccess客户端以及unixODBC . 我的odbc.ini配置: [iSeries Access ODBC Driver] Description ...