Hello.
I am trying to upload a MySQL database dump to a local server, which weighs more than 14GB. Pour through the console
mysql> \. C: \ myFile.sql
But at some stage the import process hangs. And in the MySQL log there is nothing that could help me. After a rather long period of time, the process continues (again, without any errors in the log). As a result, the whole process of importing this dump lasts about 24 hours.
In mysql.ini in max_allowed_packet was 100M, but I changed to 1024M - it did not help.
How to fix it?
SHOW PROCESSLISTand see which command takes a long time to execute. Think again - Anton Shchyrov