
While settings up local installation in my system I came across this error (PHP fatal error 'Undefined class constant MYSQL_ATTR_USE_BUFFERED_ QUERY'). I tried a lot to fix it. Finally got the solution as follows. The reason for this error is missing pdo_mysql extension in my PHP installation.