Added db support for non mysqlnd drivers