获取连接
import mondrian.olap4j.MondrianOlap4jConnection;
import java.sql.Connection;
//注意包别导错了
Class.forName("mondrian.olap4j.MondrianOlap4jDriver");
Connection connection = DriverManager.getConnection(
"jdbc:mondrian:Jdbc=" +"jdbc:mysql://localhost:3306/foodmart?"
+"user=root&password=123456;"
+ "JdbcDrivers=com.mysql.jdbc.Driver;"
+