Fixing a number of errors found during a mysql install