odbc

Datastax Cassandra odbc driver and starting cql2 on cqlsh 3 gives error as cqlsh: error: no such option: -2

别等时光非礼了梦想. 提交于 2019-12-12 02:15:50
问题 I have installed datastax ODBC driver for cassndra and also i have created keyspace and some tables using cql 3. But ODBC driver is not showing up those tables. Also in odbc documentation i read that the driver does not currently support version 3.0 of the Cassandra Query Language (CQL3) and the driver will not recognize keyspaces and column families that are defined with CQL 3. So in order to use cql 2 i am using following command which is suggested in driver documentation: ...\cqlsh” -2 But

PHP failed to connect to Microsoft Access Database

情到浓时终转凉″ 提交于 2019-12-12 02:05:26
问题 I am trying to connect to a Microsoft Access Database using PHP PDO, but got this error message: SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager]Data source name not found, and no default driver specified The error happens at this line: $dbh = new PDO("odbc:Driver={Microsoft Access Driver (*.mdb,*.accdb)};Dbq=C:\\wamp\\www\\phprestsql\\UTILITY.accdb"); I do not have an user name setup for the database, I also tried $dbh = new PDO("odbc:Driver={Microsoft Access Driver (*

Insert a Date field into a Clipper Database using OLE

你离开我真会死。 提交于 2019-12-12 01:35:13
问题 We're trying to insert data into a clipper database file (DBF file with NTX index file). For a variety of reasons, we cannot change the database format. We are currently seeing two issues: With our existing code, we are not able to update or utilize the NTX index file (I believe). We would like to be able to do this. Do you know of an OLE or ODBC driver that can do this? We are able to insert a row into the clipper database file (DBF) as long as we do not include a date. If we include a date,

Read Pervasive Database 9 without creating ODBC DSN

雨燕双飞 提交于 2019-12-12 01:29:34
问题 I am writing an application in C# (.NET 4.0) which has to integrate with another, much older application. Part of the requirement is that my program must read data from three Btrieve files. I can assume that these Btrieve data files will already exist on the computers where my program is installed, and I can also assume that Pervasive PSQL V9 will also be installed and the relational and transactional service programs are running. I have the associated DDF files, and I can install them as

PostgreSQL Connection String with ODBC driver in C#, Keyword not supported: driver

戏子无情 提交于 2019-12-12 01:27:40
问题 Lately I've been trying to connect a PostgreSQL 9.6 database on my C# project but I've been struggling setting up the connection string correctly due to "Keyword not supported:driver". After having read tons of information, I downloaded the ODBC.NET, I registered PostgreSQL in ODBC Data Sources (32x), referenced the Microsoft.Data.Odbc.dll in my project's directory and managed to have a successful connection with my database in the Visual Studio's Ultimate 2013, but when it came to accessing

PHP ODBC Not Closing Connections

让人想犯罪 __ 提交于 2019-12-12 01:19:02
问题 I have a PHP application that uses the ODBC functions for database access. My DBA recently discovered that the application is not closings its database connections, resulting in numerous invalid connections that are in a TIME_WAIT state. We have checked the code and I am doing an odbc_close_all call in every script, plus even if I wasn't then the connection should close at the end of the script anyway. There are no long running scripts holding on to their connections Has anyone seen anything

Access SQL Server from Solaris

孤人 提交于 2019-12-12 01:18:21
问题 I found out about the freeTDS which can be used here, but there are doubts about its stability in the production environment. Is there any other way to interactive with MSSQL Server from Solaris besides using ODBC driver? 回答1: Don't know of any other way. We're using unixODBC + freeTDS + DBD::Sybase in a production environment. It can be fiddly setting it up, but we have no problems with stability. It is possible to use FreeTDS directly and bypass unixODBC. 来源: https://stackoverflow.com

Getting list of available ODBC data sources in my Qt application

前提是你 提交于 2019-12-12 00:22:58
问题 On my Windows box I can list user and system ODBC dsns. For example: In my code I can connect to a database by using the name of a data source. For example: QSqlDatabase db = QSqlDatabase::addDatabase("QODBC"); db.setDatabaseName("M10-Server-Production"); I would like to obtain the list of data source names, both user and system, filter them to include only the ones suitable for my application, in this example they will start with "M10-Server", then offer the list to the user so the user can

vb6 sql database error

痴心易碎 提交于 2019-12-12 00:00:00
问题 I am attempting to fill textboxes with info pulled by the SQL query found in this code: Dim Sqlstring As String Dim rstCurrentTicket As Recordset Sqlstring = "SELECT SubmiterName, Department, Description, Urgency, SubmitDate, ResolvedDate FROM TroubleTickets WHERE Title = " + Trim(TicketComboBox.Text) SET rstCurrentTicket = cnnSel.OpenRecordset(Sqlstring) Do While Not rstCurrentTicket.EOF TicketComboBox.AddItem (rstCurrentTicket!TroubleTicketTitle) Loop the debugger is currently flaging the

ODBC connector support for utf8mb4 in MYSQL

戏子无情 提交于 2019-12-11 23:55:26
问题 I have been stuck up in this scenario. My application is in C++ which connects to MySQL database 5.5.34 through MySQL odbc connector v5.2 Unicode Driver. My tables were using the character set and collation properties 'utf-8'. To insert supplementary unicode characters, i changed it via My table was initially created: CREATE TABLE mytable (SAMPLECOLUMN text) ENGINE=InnoDB DEFAULTCHARSET=utf8; changed to, ALTER TABLE mytable CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; After