I tried to import a large sql file through phpMyAdmin…But it kept showing error
‘MySql server has gone away’
What to do?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As stated here:
Edit:
Notice that MySQL option files do not have their commands already available as comments (like in php.ini for instance). So you must type any change/tweak in
my.cnformy.iniand place them inmysql/datadirectory or in any of the other paths, under the proper group of options such as[client],[myslqd], etc. For example:Then restart the server. To get their values, type in the mysql client: