Unable to open PDO connection [wrapped: could not find driver]

239 views
Skip to first unread message

mgl...@gmail.com

unread,
May 22, 2009, 12:35:36 PM5/22/09
to ICA-AtoM Users
Hi

I keep getting the error "Unable to open PDO connection [wrapped:
could not find driver]" ... in the database configuration stage of the
icaatom 1.0.7 installation.

I configured php 5.2.9 on a Linux box with the following:

./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/
data --disable-maintainer-mode --with-mysqld-user=mysql --with-unix-
socket-path=/tmp/mysql.sock --with-xsl=/usr --without-comment --
without-debug --without-bench --with-zlib-dir=/usr --with-apxs2=/usr/
local/apache2/bin/apxs --enable-mbstring --with-mysql-pdo


Any ideas on how to resolve this issue?

Thanks, Mawuena

Jack Bates

unread,
May 22, 2009, 1:41:43 PM5/22/09
to ICA-AtoM Users
hi mawuena,
i think you've *almost* got it - when i built php 5.2.9 for ica-atom,
i used,

$ configure --enable-mbstring --with-pdo-mysql

- the difference i notice is "--with-pdo-mysql" vs. "--with-mysql-pdo"

*hopefully* that is the problem!
Reply all
Reply to author
Forward
0 new messages