From http://www.cyberciti.biz/faq/mysql-change-root-password/