Hi All, I m getting this error (i knew this is very common error)when i try to insert a record into a table.
------------------------------------------------------- java.sql.SQLException: Error during query: Unexpected Exception: java.lang.IllegalArgumentException message given: Packet is larger than max_allowed_packet from server configuration of 65536 bytes ------------------------------------------------------- I m using Redhat 7.3, mysql-3.23.51-max with custom kernel. The same thing works on my other machine with the same OS and same mysql version but default RH 7.3 kernel. Is this error due to something i must have missed during kernel recompilation. Below is my my.cnf file -------------------------------------------------------- [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock set-variable = key_buffer=300M set-variable = max_allowed_packet=16M set-variable = query_buffer_size=10M set-variable = table_cache=512 set-variable = sort_buffer=50M set-variable = record_buffer=2M set-variable = thread_cache=8 set-variable = thread_concurrency=2 set-variable = myisam_sort_buffer_size=50M set-variable = net_buffer_length=2M set-variable = net_read_timeout=60 set-variable = net_write_timeout=30 set-variable = long_query_time=5000 set-variable = connect_timeout=30 set-variable = max_connections=200 [mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid ----------------------------------------------------------- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php