For the last couple of days I've been getting the following error:
Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /home/mydomain/public_html/drupal/includes/database/mysql/database.inc on line 46
This comes after my Hosting did an upgrade and PHP is now version 5.2.17. From what they have told me, I think I have to enable a PDO MySQL extension in php.ini. The problem is I'm on a shared hosting and I don't have access to the file; also, my Hosting said they can't change it either. My info.php shows:
PDO support enabled
PDO drivers sqlite, sqlite2
PDO Driver for SQLite 3.x enabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 293036 2010-01-03 09:23:27Z sebastian $
SQLite Library 3.3.7
I tried modifying the .htaccess file and/or adding my own php.ini file to the root directory per some suggestions I found, but nothing I've tried has worked yet.
Can anyone please suggest what else I could do?
Once again I asked the Hosting to enable PDO_MySQL extension and their answer was that they could not, that cPanel (to which they migrated from Plesk, causing this whole problem) had this extension disabled by default and changing it would affect their servers. Their solution? That I would change my programming to adjust to these new features, which I wouldn't even know how to go about. Are they right requesting that I do this? Is there any other way?