odbc

C++ app MySQL odbc database connection error: terminate called after throwing an instance of 'otl_tmpl_exception<>

自作多情 提交于 2020-07-23 08:21:27
问题 I am currently debugging a containerized C++ application, it seems like it's throwing exception and complaining about the database connection, error: terminate called after throwing an instance of 'otl_tmpl_exception<odbc::otl_exc, odbc::otl_conn, odbc::otl_cur>' Aborted The code in main() is below: int main(int ac, char *av[]) { auto otl_connect = std::make_unique<odbc::otl_connect>("Driver={/usr/local/lib/libmyodbc8a.so};server=xxx.x.x.x;port=xxxx;database=xxxx;user=xxx;password=xxx"); std:

C++ app MySQL odbc database connection error: terminate called after throwing an instance of 'otl_tmpl_exception<>

本小妞迷上赌 提交于 2020-07-23 08:19:05
问题 I am currently debugging a containerized C++ application, it seems like it's throwing exception and complaining about the database connection, error: terminate called after throwing an instance of 'otl_tmpl_exception<odbc::otl_exc, odbc::otl_conn, odbc::otl_cur>' Aborted The code in main() is below: int main(int ac, char *av[]) { auto otl_connect = std::make_unique<odbc::otl_connect>("Driver={/usr/local/lib/libmyodbc8a.so};server=xxx.x.x.x;port=xxxx;database=xxxx;user=xxx;password=xxx"); std:

Extracting Day Books / Transaction Data from Tally using ODBC

泄露秘密 提交于 2020-07-16 07:54:28
问题 I am able to successfully connect Excel to Tally ODBC Server using Microsoft SQL Query. I now want to extract all transaction data for entire history into excel (including debit and credit ledgers) like in a Day Book. However, if I extract using CompanyVouchers table, I only get the data for current date in Tally, and only for single ledger. STEPS FOLLOWED: Open Microsoft Excel on your computer. Click Data > Get External Data > From Other Sources > From Microsoft Query Select TallyODBC64_9000

Using ODBC::dbConnect and dplyr to connect to Sybase IQ database - table name not found

半世苍凉 提交于 2020-07-08 03:41:27
问题 I can connect to my Sybase IQ 16 database using a connection string such as: myDB_conn <- dbConnect(odbc(), "MyDSN_Name") When I run this command the connections view shows a list of databases and corresponding tables/views. However when I try to use the logic laid out here specifically naming the view I keep receiving an error about my view not being found. test <- tbl(myDB_conn, "OFFSHORE_BOB.SOME_VIEW_OR_TABLE_NAME") In the connection window I can see the database and view but when I use

Presto coordinator returning 404 error when connecting through Terradata odbc driver

半腔热情 提交于 2020-06-29 08:58:16
问题 I am attempting to connect to a presto coordinator that resides on an EMR cluster. I am using the Terradata ODBC driver. I have both tested the driver by putting the pertinent details into the DSN via ODBC connections dialog and written a simple C# application that creates a connection (see the code below). The problem is that I am getting a 404 error returned when the connection is either tested in the DSN dialog or opened in the C# code. I believe the security group settings in AWS are fine

Open .ODC connection in R

陌路散爱 提交于 2020-06-26 07:58:30
问题 I have an .odc (office data connection) that connects Excel to a Web Service (MSBI, Web PowerBI). It's working fine. I open the odc file, Excel opens up and it is connected to the data source. How can I open this connection directly from R? The odc file contents are: <odc:ConnectionString> Provider=MSOLAP; Integrated Security=ClaimsToken; Identity Provider=https://login.microsoftonline.com/common, https://analysis.windows.net/powerbi/api, xxxxxx-xx-xx-xxxxxx; Data Source=pbiazure://api

How to Access .mdb Data Source in PHP Linux?

核能气质少年 提交于 2020-06-16 16:59:52
问题 I just installed unixODBC in order to access my .mdb data source on PHP.5.3 CentOS 6.10 using this commands: # yum install unixODBC In Windows i could simply uncomment extension=php_pdo_odbc.dll on php.ini and restart Httpd / Apache in order to access my .mdb , and then made connection thorugh PDO like this : <?php $dsn = "{Microsoft Access Driver (*.mdb, *.accdb)}"; $db = "/home/www/html/cetak_absensi/uploaded/db_access/myDB.mdb"; $user = ""; $pass = ""; $connection = new PDO("odbc:DRIVER=".

How to install/enable pdo-odbc driver on a php docker container?

感情迁移 提交于 2020-05-28 11:26:52
问题 I am currently having trouble writing a Dockerfile for my php application. My Dockerfile works but lacks the pdo-odbc driver I need to connect to an MS SQL Server database. Here is my current Dockerfile: FROM php:apache RUN apt-get install && \ apt-get update && \ apt-get install tdsodbc unixodbc unixodbc-dev -y && \ docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr && \ docker-php-ext-enable pdo_odbc && \ a2enmod rewrite && \ service apache2 restart && \ sed -ri -e 's!/var/www

How to install/enable pdo-odbc driver on a php docker container?

我的未来我决定 提交于 2020-05-28 11:25:27
问题 I am currently having trouble writing a Dockerfile for my php application. My Dockerfile works but lacks the pdo-odbc driver I need to connect to an MS SQL Server database. Here is my current Dockerfile: FROM php:apache RUN apt-get install && \ apt-get update && \ apt-get install tdsodbc unixodbc unixodbc-dev -y && \ docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr && \ docker-php-ext-enable pdo_odbc && \ a2enmod rewrite && \ service apache2 restart && \ sed -ri -e 's!/var/www

How to install/enable pdo-odbc driver on a php docker container?

我与影子孤独终老i 提交于 2020-05-28 11:25:27
问题 I am currently having trouble writing a Dockerfile for my php application. My Dockerfile works but lacks the pdo-odbc driver I need to connect to an MS SQL Server database. Here is my current Dockerfile: FROM php:apache RUN apt-get install && \ apt-get update && \ apt-get install tdsodbc unixodbc unixodbc-dev -y && \ docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr && \ docker-php-ext-enable pdo_odbc && \ a2enmod rewrite && \ service apache2 restart && \ sed -ri -e 's!/var/www