Percona 5.6.19 crashes when trying to Grant Privileges

  • Filter
  • Time
  • Show
Clear All
new posts

  • Percona 5.6.19 crashes when trying to Grant Privileges

    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/

    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(_Z11mysql_grantP3THDPKcR4ListI11st_lex_user Embb+0x5c0)[0x679df0]
    /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x5c 8)[0x6d5078]
    /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3 THDPcj+0xfa7)[0x6d6807]

    Trying to get some variables.
    Some pointers may be invalid and cause the dump to abort.
    Query (3766b70): grant all privileges on phpmyadmin.* to pma@"%" 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

  • #2
    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?


    • #3
      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