Categories
Snippets

Restoring mySQL database from the file system MT

When you get a flat backup of your server the SQL is useless to you. Unless you’ve run SQL exports and backups your self you’re going to have to recover the databases from these flat unusable files. Fortunately there’s a tool in the Media Temple back end that allows for this. Simple connect to the […]

Categories
Snippets

Warning remote host identification has changed ssh

This was another fun error message that I received while putting back together my hacked server. This appears when trying to SSH into the Media Temple server through the Terminal Application on Mac OSX. The solution. You need to clear the key that already exists in your known host…. perl -p -i -e ‘s/^example.com.*n//;’ ~/.ssh/known_hosts […]