I have a very long query (3MB) to execute and I use PDO to do this but I have a problem: the query is too long.
I already changed the MySQL variable max_allowed_packet to 100MB but it didn't resolve the problem, so i guess it is because of PDO.
I saw this topic but MYSQL_ATTR_MAX_BUFFER_SIZE doesn't seem to exist: Fatal error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE'
How can i resolve it ?