Announcement

Collapse
No announcement yet.

How to remove Mysql server in Ubuntu?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to remove Mysql server in Ubuntu?

    I want to delete everything of Mysql server in Ubuntu. Please guide me.

  • #2
    Steps on remove MySql completely.

    apt-get --yes purge mysql-server mysql-client
    apt-get --yes autoremove --purge
    apt-get autoclean
    deluser --remove-home mysql
    delgroup mysql
    rm -rf /etc/apparmor.d/abstractions/mysql /etc/apparmor.d/cache/usr.sbin.mysqld /etc/mysql /var/lib/mysql /var/log/mysql* /var/log/upstart/mysql.log* /var/run/mysqld
    updatedb
    exit

    Comment

    Working...
    X