Questions tagged [pdo-odbc]

PDO_ODBC is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to databases through ODBC drivers or through the IBM DB2 Call Level Interface (DB2 CLI) library. https://php.net/manual/en/ref.pdo-odbc.php

PDO_ODBC is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to databases through ODBC drivers or through the IBM DB2 Call Level Interface (DB2 CLI) library.

PDO_ODBC currently supports three different "flavors" of database drivers. For additional details see https://php.net/manual/en/ref.pdo-odbc.php

20 questions
0
votes
1 answer

Apche ignite - pdo odbc - SQLSTATE[08001] SQLConnect: 0 [unixODBC]Failed to establish connection with the host

I got odbc driver and pdo odbc installed. These were related questions. Apache Ignite - [PDOException] SQLSTATE[IM002] SQLConnect: 0 [unixODBC][Driver Manager]Data source name not found, and no default driver…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
1 answer

Apache Ignite - [PDOException] SQLSTATE[IM002] SQLConnect: 0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified

I have setup apache ignite, loaded data into ignite from Java app and can query using rest apis. I need to query it from PHP so I am trying to connect to Apache Ignite from PHP using pdo_odbc. I have, i) Installed ODBC driver manager -…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
0 answers

PDO ODBC, one of several result sets causes php to crash

-Running PHP 5.6 on IIS 8.5 (Windows Server 2012 R2) -Connecting to SQL Server 2008 R2 remotely via PDO, ODBC -Issue isolated to one query, other queries function normally with expected results. I am calling a stored procedure that returns eight…
0
votes
1 answer

PDO odbc returns bad hashed password string

Im hashing my users password into a SQL Server 2008 R2. The registration goes fine. The hashed password is saved correctly through this code: $password = password_hash($password, PASSWORD_DEFAULT); // Insert the new user into the database …
0
votes
0 answers

How to use Eloquent ORM with PDO ODBC SQLServer Laravel5 Framework

I'm trying to do a query to retrieve all users using eloquent ORM laravel5 PDO ODBC connection and when tray to do this $email = "myemail@domain.com"; $data = Users::where('email',$email)->get(); I get this error "SQLSTATE[42000]: Syntax error or…
vroldan
  • 1,077
  • 9
  • 12
1
2