--Find D:\mysql\my.ini and open it, modify it if it exists, add it if it doesn't exist, PS: restarting the server will not change max_allowed_packet=100000M --Set to a maximum of 20G for import and export, you need to close and log in to the mysql console again, PS: restarting the server will restore the default value set global max_allowed_packet = 2*1024*1024*10; --//The above two methods can set the maximum import and export --The largest import and export in the query show VARIABLES like '%max_allowed_packet%'; --Query the database in MySQL show databases; -- select database use huoche; -- import data from database source d:/huoche.sql; --Export database data using phpmyadmin
Effect picture: