Skip to content

Instantly share code, notes, and snippets.

@kidpollo
Created July 22, 2010 18:28
Show Gist options
  • Save kidpollo/486382 to your computer and use it in GitHub Desktop.
Save kidpollo/486382 to your computer and use it in GitHub Desktop.
# full reinstall mysql server
apt-get remove --purge 'mysql-server.*'
rm -rf /etc/mysql
rm -rf /var/run/mysqld
rm -rf /db/mysql
rm -rf /db/mysql
rm -rf /var/lib/mysql
apt-get install mysql-server
#reattach screen
screen -r
#derach from screen
detach with ctrl+a ctrl+d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment