Modified to connect to MySQL instead of HSQL.