added more function to mysql install script