I am trying to insert data of 50,000 rows with a single request, so the server is leaving. I tried to change max_allowed_packet but did not change. Any advice.
Thanks in advance
Have you checked mysqls wait_timeout timeout? Also, what do you use to import records (script, sql editor, command line)? Php forexample uses its own connect_timeout, set in php.ini, which will cause the error you see.
, , , - , , , . - , , 25-100 .
There, find wait_timeout and some mysql_ping and a few more suggestions.
I set max_allowed_packet = 64 in my.ini and restarted the server. Now it works fine. Thank you all for your help.
Source: https://habr.com/ru/post/1780533/More articles:Select records with values before and after (but only one) another value? - sqlКак вы очистите Java-последовательный InputStream? - javaПроблема синтаксиса SQL с использованием ключевого слова "IN" с динамическими данными - sqlHow to remove css classes from richfaces component? - javaВычислить расстояние от точки p до габаритного гауссовского (M, V) - matlabIncorrect CPU usage calculation using C # and WMI - c #Passing a string from C ++ to C # - c ++Why is getting process-related data using performance counters that cause so many GCs? - performanceCreating your own custom jQuery template engine? - jqueryHow to use jQuery AJAX in ASP.net main page? - jqueryAll Articles