Due to sqlyog data file import problems, please keep reminding me: TherewasanerrorwhileexecutingaqueryThequeryandtheerrormessagehasbeenloggedat: C: UsersliangAppDataRoamingSQLyogsqlyo sqlyog:
There was an error while executing a query.
The query and the error message has been logged:
C: \ Users \ liang \ AppData \ Roaming \ SQLyog \ sqlyog. err.
Please click on "Open Error File..." to open the error file.
The solution is as follows:
Find my. ini in the installation path of mysql and modify the parameter configuration.
[Mysqld] add the following: max_allowed_packet = 768 M parameter size customized
After modification, restart the mysql service (net stop mysql is disabled, and net start mysql is started; or manually restart mysql on the computer> Manage> service)
Go to mysql to check whether the operation is successful
Show variables like '% max_allowed_packet % ';
Shown as follows:
Max_allowed_packet | 805306368 indicates that the modification is successful.