1
vote
2answers
27 views

php pdo connection cannot be established, but mysql command line client can

situation as follows: php script on server a, run by user 'web' (nginx + php-fpm) should access mysql on server b via pdo library, but gets SQLSTATE[HY000] [2003] Can't connect to MySQL server on ...
0
votes
0answers
23 views

Nginx & PHP: How to install / activate PDO

I have an nginx server with PHP running on Windows Server 2012 and I want to install Collabtive. This web-based project management software requires PDO to connect to a MySQL database. The ...
0
votes
1answer
446 views

MySQL connections aborted - should I be worried?

I'm tuning MySQL on a webserver with Apache and mod_php for speed so I ran mysqltuner and here's the result: -------- General Statistics -------------------------------------------------- [--] ...
0
votes
1answer
364 views

How to install new PDO driver to existing LAMP install

How do I install a new PDO driver to an existing LAMP installation? I am using Amazon Linux (on AWS EC2), and have installed PHP 5.5 and MySql from the Amazon repositories. When I look at phpinfo I ...
2
votes
1answer
123 views

PHP: Can't access to MySQL server on a different server via PDO

I'm trying to connect to a offloaded SQL server offered here. It says that I should connect using the internal IP 172.16.0.51. I installed nginx and PHP (php5-fpm, php5-mysql) on my VPS. phpinfo() ...
1
vote
1answer
150 views

Dynamic column enumeration for preventing SQL injection

I have an application which is completely for internal use but I'm trying to make sure I have my bases covered on SQL injection. Unless someone else has some information to point me otherwise there ...
0
votes
0answers
20 views

PDO Driver Update/Replace [duplicate]

How can i update or replace the mysql pdo driver? Replacing or updating to a newer mysqlnd version should fix the problem, because I have another server running on 5.5 and its working. I tryed to ...
0
votes
1answer
3k views

How enable pdo_mysql

I am trying to install SpaceBukkit. I was wondering how I enable pdo_mysql. When trying to setup the MySQL part I get this error: The "pdo_mysql" extension is NOT loaded in your `php.ini`! Make sure ...
0
votes
1answer
766 views

PHP Fatal error: Class 'PDO' not found

PHP Fatal error: Class 'PDO' not found in /home/bd/public_html/app/webroot/Cake/Model/Datasource/Database/Mysql.php on line 177 PHP INFO: PDO PDO support => enabled PDO drivers => sqlite, ...
0
votes
2answers
828 views

Compiling PHP on CentOS Needs MySQL PDO Configured

I am trying to compile PHP with mysql_pdo on CentOS 6 and I am having just one heck of a time trying to make it happen. Currently I am trying to compile PHP 5.2, but I am going to have to do this for ...
1
vote
1answer
4k views

How do I install the pdo_mysql driver on Red Hat Enterprise Linux 6.1?

I have a RHEL box running PHP 5.3.3, which was installed using the binary packages provided by yum. I have installed the php-pdo package: # yum info php-pdo Loaded plugins: product-id, rhnplugin, ...
1
vote
1answer
140 views

mysql server freezes on inserts on a InnoDB table

CREATE TABLE IF NOT EXISTS `music_batch_song` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `music_batch_id` bigint(20) DEFAULT NULL, `song_id` bigint(20) DEFAULT NULL, `comment` varchar(10) ...
1
vote
0answers
2k views

phpinfo reports no value for PDO MySQL driver

As per the title I'm having problems with PHP 5.2.10 and getting PDO MySQL to be recognised. My configure command contains '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' ...
0
votes
1answer
1k views

Compiling PHP 5 with PDO MySQL

I want to use Nginx with PHP5-FPM with MySQL PDO on Debian. To get PHP5-FPM on squeeze I need to compile PHP myself. First I tried to I did: apt-get install mysql-server libmysqlclient-dev I ...
0
votes
1answer
2k views

Can't get PDO MySQL driver to work on PHP

Trying to install Vanilla 2 locally using MAMP i got the error: "You must have the MySQL driver for PDO enabled in order for Vanilla to connect to your database". When I check phpinfo() I see: ...
0
votes
1answer
286 views

Installing my mysql adapter properly

I am running on ubuntu 10.04. Can someone tell me how to isntall: PHP5 MySQL with support for PDO All tutorials I've found are a bit old.
0
votes
2answers
16k views

PDO Disabled in PHP… how to enable it?

Sorry I'm still a bit of a novice with dedicated hosting. Anyway, we have a dedicated server running cPanel and WHM. I have full terminal access and all that. Basically I've tried to install Chive to ...
0
votes
1answer
886 views

Compiling PHP 5.1.6 with PDO MySQL

UPDATE I Asked this over on StackOverflow as I hadn't got any answers on here at the time. Here's the link to the answers for completeness' sake. I'll like that page back over here once I've tried ...
0
votes
1answer
1k views

Apache won't restart with PDO MySQL enabled

I attempted to install the PDO MySQL driver onto a server with Solaris using the following commands: $ pecl download pdo_mysql $ tar xzf PDO_MYSQL-1.0.2.tgz $ cd PDO_MYSQL-1.0.2 $ phpize $ ...
3
votes
1answer
410 views

PDO_mysql for mac

Has anybody gotten PDO_mysql working on the default PHP installation on a mac? It works with MAMP but that's inconvenient. I'm developing for Zend Framework and mysql, and Zend_db uses PDO. The ...