fixed MySQLDatabase port parameter
optimized require_once calls