MCQs > IT & Programming > MySQL > How can the following error be solved in MySQL? ERROR 1153: Got a packet bigger than 'max_allowed_packet' bytes

MySQL MCQs

How can the following error be solved in MySQL? ERROR 1153: Got a packet bigger than 'max_allowed_packet' bytes

Answer

Correct Answer: By specifying on the command line: mysql --max_allowed_packet=100M -u root -p database < dump.sql and updating the my.cnf or my.ini files with the following lines: set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

MySQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

MySQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it