Double MySQL issue

Hello,

After installing Percona it seems service mysql start and /etc/init.d/mysql is separate. service mysql start initiate old mysql instance and /etc/init.d/mysql do the percona instance. I verified that there is no mysql-server installed so its a weird behaviors.

root@MP2:/etc/init.d# ./mysql status

  • Percona XtraDB Cluster up and running
    root@MP2:/etc/init.d# service mysql status
    mysql stop/waiting
    root@MP2:/etc/init.d#

root@MP2:/etc/init# apt-get remove mysql
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package mysql
root@MP2:/etc/init# apt-get remove mysql-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘mysql-server’ is not installed, so not removed

This is on Ubuntu 14.04 and on both cluster members we experience the same. Can somebody advise?

Thanks

I suppose there are some leftovers from other packages, maybe not cleanly uninstalled.
Please show the output of:

strace service mysql status 2>&1|grep mysql

dpkg -l|egrep -i “mysql|percona”