Top "Pdo" questions

PDO (PHP Data Objects) is a data-access abstraction layer (interface) for PHP.

How does PDO know last inserted id in MySQL?

EDIT: This question title originally was: How does Doctrine know last inserted id in MySQL? and was related to Doctrine …

php mysql doctrine pdo communication-protocol
Set database connection timeout in CodeIgniter 3

We are working with 2 databases, our local database and an external database. But now our external database is down (we're …

php database codeigniter pdo connection-timeout
SQLSTATE[HY000]: OCISessionBegin: ORA-21561: OID generation failed

I'm receiving the following error when trying to do a PDO OCI SQL query on one of my web servers: …

php oracle pdo oracle-call-interface
Symfony : how to set SSL parameters in Doctrine DBAL configuration (YAML)?

I'd like to add my SSL cert and key files to Doctrine DBAL configuration but I don't see how to …

symfony pdo doctrine-orm yaml dbal
mysql server has gone away in PDO

I am running my php script and getting an intermittent issue: PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[…

php mysql pdo ping reconnect
PHP MySQL over SSL. Peer certificate did not match

I'm trying to use Google Cloud SQL over SSL from GCE(Google Compute Engine) instance. My problem is that I …

mysql mysqli pdo google-compute-engine google-cloud-sql
How do I install PHP PDO ODBC drivers on CentOS 7?

I already have PHP 5.4 installed in a CentOS 7 VPS. I am trying now to access a legacy database in .mdb …

php pdo odbc
Do unbuffered queries for one request with PDO

i'm looking to do unbuffered queries only on some requests. In mysql I was doing this : $req = mysql_unbuffered_query(…

php mysql pdo request unbuffered
Reference — frequently asked questions about PDO

What is this? This is a list of frequently asked questions regarding PHP Data Objects Why is this? As PDO …

php pdo
PHP PDOException: SQLSTATE[HY000] [2019] Can't initialize character set utf8mb4

I have drupal 8 installed on Centos 6. Here is my php and mysql -version output Server version: 5.7.9 MySQL Community Server (GPL) …

mysql pdo drupal-8 utf8mb4