Percona server upgrade recreates test database from invocation of mysql_install_db
|Percona Server||Status tracked in 5.6|
|Percona XtraDB Cluster||Status tracked in 5.6|
Upgrading of MySQL-server-
after tracking the issue i found, that the followin code is not in install condition
# Initiate databases
the problem is, that mysql_install_db contains the follovin code:
# Create database directories
for dir in $ldata $ldata/mysql $ldata/test
possible sollution could be for example
* patching /usr/bin/
* move the "Initiate database" in POSTIN to conditioned part for new install only
i don't know now that moving to conditioned part will have some sideeffects.
upstream mysql-server packages have very simple, conditioned POSTIN and calling mysql_install_db lies on the user, percona has more logic in the POSTIN and solves many production problems.
|Changed in percona-server:|
|assignee:||nobody → Ignacio Nin (ignacio-nin)|
|importance:||Undecided → Low|
- upgrade of rpm (MySQL-server-percona-highperf) recreates db "test"
+ Percona server upgrade recreates test database from invocation of
|no longer affects:||percona-xtradb-cluster/trunk|