Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
rm /etc/mysql/my.cnf
rm -r /etc/mysql/mysql.conf.d/
rm /etc/mysql/debian.cnf
apt purge -y mysql-server mysql-server-5.7 mysql-server-core-5.7
apt install -y mysql-server
service mysql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.