unixodbc

RODBC not recognizing my odbc settings

空扰寡人 提交于 2019-12-04 16:09:23
问题 I'm running R 2.15.2 on a Red Hat Linux 6 server. My goal is to connect to a MS SQL Server Database on another machine via RODBC. I did my research and downloaded and installed the linux version of the MS SQL ODBC driver from the microsoft support website. I to had build unixODBC version 2.3.0 from source, because it is required by the windows driver and is not in the RHL repos yet (the repo version is 2.2.14). Anyhow, after a bit of work, I finally got the driver installed and configured

powerBi odbc 连接impala 实现自助分析

倾然丶 夕夏残阳落幕 提交于 2019-12-04 06:54:53
配置Impala以使用ODBC 可以将第三方产品设计为使用ODBC与Impala集成。为获得最佳体验,请确保支持您打算使用的任何第三方产品。验证支持包括检查Impala,ODBC,操作系统和第三方产品的版本是否已获批准同时使用。在配置系统以使用ODBC之前,请下载连接器。在访问下载ODBC连接器所需的页面之前,您可能需要登录并接受许可协议。 继续阅读: 下载ODBC驱动程序 配置ODBC端口 为Impala设置ODBC应用程序的示例 有关JDBC和ODBC与Impala SQL功能交互的说明 下载ODBC驱动程序 重要提示: 截至2015年底,大多数商业智能应用程序都使用2.x ODBC驱动程序进行了认证。虽然此页面上的说明涵盖了2.x和1.x驱动程序,但是对于连接到Impala的大多数ODBC应用程序,只能使用2.x驱动程序。 有关安装说明,请参阅 连接器文档页面 。 下载:https://www.cloudera.com/downloads/connectors/impala/odbc/2-5-43.html 文档:http://www.cloudera.com/documentation/other/connectors/impala-odbc/ 一、检查unixODBC是否安装: rpm -qa|grep unixODBC 假设没有安装。使用以下的命令安装: yum

Return IDs of inserted values PDO to MSSQL using ODBC

守給你的承諾、 提交于 2019-12-04 06:31:05
问题 I need to get an array of id's of the subscribers added to the database within this function: function insert_test($pdo, $fullname, $email) { if ($SQL = $pdo->prepare("INSERT INTO subscribers ([dateAdded],[dateUpdated],[fullname],[email],[isActive]) VALUES (GETDATE(), GETDATE(), :fullname, :email, 1)")) { $SQL->bindValue(':fullname', $fullname, PDO::PARAM_STR); $SQL->bindValue(':email', $email, PDO::PARAM_STR); $SQL->execute(); return array('status'=> true); } else { return array('status'=>

unixODBC giving error while running isql [Vertica]

老子叫甜甜 提交于 2019-12-04 02:57:16
问题 Hi I have configured the DSN settings for vertica in Ubuntu 10.10 32 bit version machine. The settings are all fine and I have cross checked them. Here is my odbc.ini file: [VerticaDSN] Description = VerticaDSN ODBC driver Driver = /opt/vertica/lib/libverticaodbc_unixodbc.so Servername = myservername Database = mydbname Port = 5433 UserName = myuname Password = ******* Locale = en_US Similarly I have a odbcinst.ini file. when I run the command: isql -v VerticaDSN I get the following error:

PyODBC : can't open the driver even if it exists

白昼怎懂夜的黑 提交于 2019-12-03 19:21:19
问题 I'm new to the linux world and I want to query a Microsoft SQL Server from Python. I used it on Windows and it was perfectly fine but in Linux it's quite painful. After some hours, I finally succeed to install the Microsoft ODBC driver on Linux Mint with unixODBC. Then, I set up an anaconda with python 3 environment. I then do this : import pyodbc as odbc sql_PIM = odbc.connect("Driver={ODBC Driver 13 for SQL Server};Server=XXX;Database=YYY;Trusted_Connection=Yes") It returns : ('01000', "

Connect to MS Access remote .mdb file from php on linux

随声附和 提交于 2019-12-03 16:36:15
I have been digging internet for couple days, reading very old information, that leads to very old and nonexisting sites, still, I understood, what is needed to achieve my goal. We have a file.mdb on server running WindowsXP, so I need to add it to ODBC data sources. I do that with simple steps, ending up with "System DSN", that allows access to that .mdb file I need to install on this same server some sort of ODBC bridge, that would allow me to create remote connection to this server, making that bridge connect to servers ODBC DSN, and query out my stuff (could not find any free ODBC bridge)

FREETDS and UNIXODBC character converting

五迷三道 提交于 2019-12-03 14:34:23
ive got an error to fix. its: [FreeTDS][SQL Server]Error converting characters into server's character set. Some character(s) could not be converted when i use turkish characters to insert i get this error. my question is how can i disable that converting thing? im connecting to sql server via freetds and unixodbc. thanks.. You need to set client charset = UTF-8 in your freetds.conf file and read it from odbc.ini by setting the Servername option to the connection definition in freetds.com. See this explanation and my blog post . 来源: https://stackoverflow.com/questions/2922829/freetds-and

Pyodbc installation error on Ubuntu 16.04 with Sql Server installed

与世无争的帅哥 提交于 2019-12-03 14:08:54
问题 I am trying to test my scripts for data migration from mssql-server to oracle server . For this, I have to install pyodbc python package for Ubuntu , it has the dependency of unixodbc . When I try to install unixodbc-dev using: sudo apt-get install unixodbc-dev It gives broken packages error : The following packages have unmet dependencies: unixodbc-dev : Depends: unixodbc (= 2.3.1-4.1) Depends: odbcinst1debian2 (= 2.3.1-4.1) but it is not going to be installed E: Unable to correct problems,

Connecting to MS SQL Server using python on linux with 'Windows Credentials'

只愿长相守 提交于 2019-12-03 13:06:08
问题 Is there any way to connect to an MS SQL Server database with python on linux using Windows Domain Credentials? I can connect perfectly fine from my windows machine using Windows Credentials, but attempting to do the same from a linux python with pyodbs + freetds + unixodbc >>import pyodbc >>conn = pyodbc.connect("DRIVER={FreeTDS};SERVER=servername;UID=username;PWD=password;DATABASE=dbname") results in this error: class 'pyodbc.Error'>: ('28000', '[28000] [unixODBC][FreeTDS][SQL Server]Login

unixodbc driver manager cannot open specified library on install

那年仲夏 提交于 2019-12-03 13:00:39
I'm using ArchLinux and I am trying to install OpenEdge progress drivers so I can access it via PHP. I've installed the unixodbc package and the drivers, but when I test the connection via isql or PHP, I get the same error... # isql -3 SUBS2A [01000][unixODBC][Driver Manager]Can't open lib '/usr/dlc/odbc/lib/pgoe1023.so' : file not found [ISQL]ERROR: Could not SQLConnect The messed up thing is that "/usr/dlc/odbc/lib/pgoe1023.so" presently exists, I even symlinked it from "/usr/dlc". The following are my .ini files... odbc.ini [SUBS2A] Description = ODBC Driver for Progress Driver = /usr/dlc