What are the eight life cycle hook functions of Vue>>>
question:
Error while sending query packet in PHP runtime
reason:
1Run show variables like ‘max in MySQL_ allowed_ packet’;
View Max_ allowed_ Packet value, if Max_ allowed_ If the packet value is too low, the title error will be reported
solution:
Edit my.cnf (my.ini under Windows) and modify it in the [mysqld] section or the server configuration section of MySQL_ allowed_ Packet = 50m (or max_ allowed_ packet = 50 * 1024 * 1024)
command line modify set global Max_ allowed_ packet = 50 * 1024 * 1024