Not the answer you need?
Register and ask your own question!

Percona 5.6.19 crashes when trying to Grant Privileges

pjcpjc EntrantInactive User Role Beginner
We've recently moved from MySQL to Percona and while everything was working fine, I can't seem to grant privileges -- the server keeps crashing (which is very disconcerting) -- I'm concerned Percona might not be as stable as expected.

Here's the log from one of the incidents:

18:04:39 UTC - mysqld got signal 11 ;
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.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=11
max_threads=153
thread_count=11
connection_count=11
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 69183 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x37628a0
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 = 7fe4f896cd40 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2c)[0x8bb80c]
/usr/sbin/mysqld(handle_fatal_signal+0x479)[0x6504b9]
/lib64/libpthread.so.0(+0xf710)[0x7fe5297ef710]
/usr/sbin/mysqld[0x676ff0]
/usr/sbin/mysqld(_Z11mysql_grantP3THDPKcR4ListI11st_lex_userEmbb+0x5c0)[0x679df0]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x5704)[0x6d3854]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x5c8)[0x6d5078]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xfa7)[0x6d6807]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x162)[0x6a4882]
/usr/sbin/mysqld(handle_one_connection+0x40)[0x6a4970]
/usr/sbin/mysqld(pfs_spawn_thread+0x143)[0xb0dc13]
/lib64/libpthread.so.0(+0x79d1)[0x7fe5297e79d1]
/lib64/libc.so.6(clone+0x6d)[0x7fe527f04b5d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (3766b70): grant all privileges on phpmyadmin.* to [email protected]"%" identified by "abc123"
Connection ID (thread ID): 12
Status: NOT_KILLED

You may download the Percona Server operations manual by visiting
http://www.percona.com/software/percona-server/. You may find information
in the manual which will help you identify the cause of the crash.
140808 14:04:39 mysqld_safe Number of processes running now: 0
140808 14:04:39 mysqld_safe mysqld restarted

Comments

  • SQLGuySQLGuy Contributor Current User Role Beginner
    I had a problem like that. It turned out that I accidentally included the mysql database when I copied all the databases from our old 5.1.32 server to our new 5.6.14 Percona server. So the mysql database had 5.1.32 stuff in it, and every time I tried to do some kind of grant the whole things would crash. Are you sure you didn't do something like that?
  • psongpsong Contributor Inactive User Role Beginner
    For upgrade, it is high recommended to upgrade one major release at a time and run mysql_upgrade after each upgrade. For example, to upgrade from 5.1.x to 5.6.19,

    1) set innodb_fast_shutdown=0, shutdown server
    2) install 5.5.x
    3) start up 5.5 server
    4) run mysql_upgrade, check output.
    5) check error log for any warning/error
    6) if all good, repeat to upgrade to 5.6.19
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.