各位大侠有没有碰到过下面的问题?貌似是my.cnf配置的问题,可我改了好多次都不行。
在线跪求解决方法,多谢了!mysql> create function lib_mysqludf_json_info returns string soname 'lib_mysqludf_json.so'; 
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> 111128 14:01:58 mysqld_safe Number of processes running now: 0
111128 14:01:58 mysqld_safe mysqld restarted下面是error log:
Version: '5.1.58-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
111128 14:01:58 - mysqld got signal 8 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.key_buffer_size=402653184
read_buffer_size=2097152
max_used_connections=1
max_threads=151
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1013272 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.Thread pointer: 0xa5f540
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x40a81fc8 thread_stack 0x40000
/home/work/server/mysql/libexec/mysqld(my_print_stacktrace+0x26) [0x75a786]
/home/work/server/mysql/libexec/mysqld(handle_segfault+0x35d) [0x58ce4d]
/lib64/tls/libpthread.so.0 [0x302b80c420]
/lib64/ld-linux-x86-64.so.2 [0x302ad07487]
/lib64/ld-linux-x86-64.so.2 [0x302ad0784e]
/lib64/ld-linux-x86-64.so.2 [0x302ad08c20]
/lib64/tls/libc.so.6 [0x302aff7068]
/lib64/ld-linux-x86-64.so.2 [0x302ad0aa60]
/lib64/tls/libc.so.6(_dl_open+0xaa) [0x302aff79fa]
/lib64/libdl.so.2 [0x302b201054]
/lib64/ld-linux-x86-64.so.2 [0x302ad0aa60]
/lib64/libdl.so.2 [0x302b201552]
/lib64/libdl.so.2(dlopen+0x32) [0x302b201092]
/home/work/server/mysql/libexec/mysqld(mysql_create_function(THD*, st_udf_func*)+0x445) [0x6ad6b5]
/home/work/server/mysql/libexec/mysqld(mysql_execute_command(THD*)+0x3cc1) [0x59f3d1]
/home/work/server/mysql/libexec/mysqld(mysql_parse(THD*, char*, unsigned int, char const**)+0x1f3) [0x5a4003]
/home/work/server/mysql/libexec/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0xdec) [0x5a4eec]
/home/work/server/mysql/libexec/mysqld(do_command(THD*)+0xde) [0x5a58de]
/home/work/server/mysql/libexec/mysqld(handle_one_connection+0x61d) [0x595b0d]
/lib64/tls/libpthread.so.0 [0x302b80610a]
/lib64/tls/libc.so.6(__clone+0x73) [0x302afc6003]Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0xabc760): create function lib_mysqludf_json_info returns string soname 'lib_mysqludf_json.so'
Connection ID (thread ID): 1
Status: NOT_KILLEDThe manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
111128 14:01:58 mysqld_safe Number of processes running now: 0
111128 14:01:58 mysqld_safe mysqld restarted
111128 14:01:58 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
111128 14:01:58 [Note] Event Scheduler: Loaded 0 events
111128 14:01:58 [Note] /home/work/server/mysql/libexec/mysqld: ready for connections.