I created the test database using the following:
java -cp './lib/mondrian.jar:./lib/log4j-1.2.9.jar:./lib/eigenbase-xom.jar:./lib/eigenbase-resgen.jar:/usr/local/mysql/mysql-connector-java-3.1.9-bin.jar' \
mondrian.test.loader.MondrianFoodMartLoader \
-verbose -tables -data -indexes \
-jdbcDrivers=com.mysql.jdbc.Driver \
-inputFile=./demo/FoodMartCreateData.sql \
-outputJdbcURL="jdbc:mysql://localhost/foodmart?user=root&password="
I got a few errors on conflicting timestamps, but the data looks ok.
Now I'm stuck on the next step. When I go to the test page get the test page:
http://localhost:8080/mondrian/testpage.jsp?query=mondrian
I get the following error:
error: Error while creating connection from data source
This is the connect info from the mondrian.properties file:
mondrian.test.connectString=\
Provider=mondrian;\
Jdbc="jdbc:mysql://localhost/foodmart?user-root&password=";\
Catalog=/WEB-INF/FoodMart.xml;\
JdbcDrivers=com.mysql.jdbc.Driver;\
RoleXX='California manager';
mondrian.foodmart.jdbcURL=jdbc
dbc:MondrianFoodMart
mondrian.jdbcDrivers=com.mysql.jdbc.Driver