How do I fix error code 1046 in MySQL?
How do I fix error code 1046 in MySQL? Here is what I did to fix this issue: Create new database. Use it by use command. Try again. When an error occurs in MySQL which value does the server return? When an error occurs in MySQL, the server returns two types of error values: A MySQL-specific error code. How do you fix MySQL server has gone away? To fix, you can increase the maximal packet size limit max_allowed_packet in my. cnf file, eg. set max_allowed_packet = 128M , then restart your MySQL server: sudo /etc/init. d/mysql restart. Why MySQL server...