# Percona 5.6.19 crashes when trying to Grant Privileges

**URL:** <https://forums.percona.com/t/percona-5-6-19-crashes-when-trying-to-grant-privileges/3670>\
**Category:** Percona Server for MySQL 5.6\
**Created:** [August 8, 2014, 12:37pm UTC](https://forums.percona.com/t/percona-5-6-19-crashes-when-trying-to-grant-privileges/3670 "2014-08-08T12:37:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjc](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@pjc](https://forums.percona.com/u/pjc)\
**Post date:** [August 8, 2014, 12:37pm UTC](https://forums.percona.com/t/percona-5-6-19-crashes-when-trying-to-grant-privileges/3670/1 "2014-08-08T12:37:09Z")

</div>

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 [url][System Dashboard - Percona JIRA](http://bugs.percona.com/%5B/url%5D)

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 pma@“%” identified by “abc123”  
Connection ID (thread ID): 12  
Status: NOT\_KILLED

You may download the Percona Server operations manual by visiting  
[url][http://www.percona.com/software/percona-server/[/url]](http://www.percona.com/software/percona-server/%5B/url%5D). 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

---

<div class="post-metadata">

**Author:** ![SQLGuy](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@SQLGuy](https://forums.percona.com/u/SQLGuy)\
**Post date:** [August 11, 2014, 2:58pm UTC](https://forums.percona.com/t/percona-5-6-19-crashes-when-trying-to-grant-privileges/3670/2 "2014-08-11T14:58:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![psong](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/psong/32/16894_2.png) [@psong](https://forums.percona.com/u/psong)\
**Post date:** [September 4, 2014, 4:36am UTC](https://forums.percona.com/t/percona-5-6-19-crashes-when-trying-to-grant-privileges/3670/3 "2014-09-04T04:36:46Z")

</div>

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
