'Query size exceeded 20000 bytes

After reading MySQL documentation I'm very lost, I have the following error while trying to import SQL file with the following command:

/usr/bin/mysqld --user=mysql --bootstrap --verbose=0 --skip-name-resolve --skip-networking=0 \< myfile.sql

The error message is Boostrap file error.

Query size exceeded 20000 bytes near ...

I try to modify max_allowed_packet but the problem is still here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source