# Percona Server install prompt "Error in my\_thread\_global\_end():1 threads didn't exit"

**URL:** https://forums.percona.com/t/percona-server-install-prompt-error-in-my-thread-global-end-1-threads-didnt-exit/3765
**Category:** Other MySQL® Questions
**Created:** [September 24, 2014, 12:28am UTC](https://forums.percona.com/t/percona-server-install-prompt-error-in-my-thread-global-end-1-threads-didnt-exit/3765 "2014-09-24T00:28:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chenzhe07](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/chenzhe07/32/901_2.png) [@chenzhe07](https://forums.percona.com/u/chenzhe07)
#### Post date: [September 24, 2014, 12:28am UTC](https://forums.percona.com/t/percona-server-install-prompt-error-in-my-thread-global-end-1-threads-didnt-exit/3765/1 "2014-09-24T00:28:50Z")

</div>

I’m trying to use the latest Percona Server MySQL (binary tarball) for my bussniess, but the following message prompt when I use mysql\_install\_db script to install database: [INDENT]Installing MySQL system tables…  
Error in my\_thread\_global\_end(): 1 threads didn’t exit  
OK  
Filling help tables…  
Error in my\_thread\_global\_end(): 1 threads didn’t exit  
OK[/INDENT]  
but I can start and update the instance , then i tried to use the version from Percona-Server-5.5.36 to Percona-Server-5.5.39, have the same problem.  
It seems the error message ocurred in line 403: [INDENT]402 s\_echo “Installing MySQL system tables…”  
403 if { echo “use mysql;”; cat $create\_system\_tables $fill\_system\_tables; } | eval “$filter\_cmd\_line” | $mysqld\_install\_cmd\_line \> /dev/null  
404 then[/INDENT]  
the configure file my.cnf looks like so: [INDENT][mysqld\_safe]

syslog  
syslog-tag = 3306

[mysqld]

# node specific settings

server-id = 1

# chain specific settings

port = 3306  
datadir = /web/node3306/data  
pid-file = /web/node3306/data/mysql.pid  
socket = /web/node3306/data/3306.scok

# common InnoDB/XtraDB settings

innodb\_buffer\_pool\_size = 2096M  
innodb\_log\_file\_size = 64M  
innodb\_log\_buffer\_size = 4M  
innodb\_flush\_log\_at\_trx\_commit = 2  
innodb\_flush\_method = O\_DIRECT  
innodb\_file\_per\_table = 1  
default-storage-engine = innodb

user = mysql  
skip-external-locking # a.k.a. skip-locking  
skip-name-resolve  
character-set-server = utf8  
log-bin = mysql-bin.log[/INDENT]  
The system environment as follows: [INDENT] Release | CentOS release 6.3 (Final)  
Kernel | 2.6.32-279.el6.x86\_64  
Architecture | CPU = 64-bit, OS = 64-bit  
Threading | NPTL 2.12  
SELinux | Enforcing

Release | CentOS Linux release 7.0.1406 (Core)  
Kernel | 3.10.0-123.el7.x86\_64  
Architecture | CPU = 64-bit, OS = 64-bit  
Threading | NPTL 2.17  
SELinux | Disabled[/INDENT]  
and I export the path in .bash\_profile file: [INDENT]PATH=$PATH:$HOME/bin:/opt/Percona-Server-5.5.38-rel35.2-674.Linux.x86\_64/bin[/INDENT]

It makes me very confused at what I’m doing wrong, Can someone help me? Thanks a lot.

---

<div class="post-metadata">

### Author: ![niljoshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/niljoshi/32/16889_2.png) [@niljoshi](https://forums.percona.com/u/niljoshi)
#### Post date: [October 12, 2014, 5:00am UTC](https://forums.percona.com/t/percona-server-install-prompt-error-in-my-thread-global-end-1-threads-didnt-exit/3765/2 "2014-10-12T05:00:23Z")

</div>

Hi,

Check these links, it might helpful to you to resolve this issue.

[url][https://www.eukhost.com/forums/f15/fix-error-my\_thread\_global\_end-1-threads-didnt-exit-5612/[/url]](https://www.eukhost.com/forums/f15/fix-error-my_thread_global_end-1-threads-didnt-exit-5612/%5B/url%5D)  
[url][MySQL Bugs: #25621: Error in my\_thread\_global\_end(): 1 threads didn't exit](http://bugs.mysql.com/bug.php?id=25621%5B/url%5D)  
[url][https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1190774[/url]](https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1190774%5B/url%5D)
