Change database from mysql to derby.