Hello,
I am trying to install Drupal 7 locally, and it faiuls when I try to provide MySQL data:
- the ditribution is unpacked, sites/default is made writable by Web server, sites/default/files is created and made writable by Web server
- the http://example.com is loaded and installation starts
On step 3, when I copy sites/default/default.settings.php to sites/default/settings.php (Drupal doesn't do that, even though the directory is Web server writable), I am only offered SQLite engine choice.
When I manually add MySQL data, the installation fails with PHP fatal error. The trace is in the end of posting.
So, in short, is it really possible to install Drupal 7 on MySQL database? How it is done?
[06-Jan-2011 08:02:50] PHP Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /local/www/example.com/includes/database/mysql/database.inc on line 43
[06-Jan-2011 08:02:50] PHP Stack trace:
[06-Jan-2011 08:02:50] PHP 1. {main}() /local/www/example.com/install.php:0
[06-Jan-2011 08:02:50] PHP 2. install_drupal($settings = *uninitialized*) /local/www/example.com/install.php:27