Your best bet is to use Workbench Schema to create XML for your cube
Link
Download Schema Workbench
MySQL Jdbc Driver
In most cases, people get hung up on the desktop first, I highly recommend placing the mysql jdbc driver in the driver folder before using it. Thus, the application will be able to connect to your database as soon as you open it for the first time.
After you installed jdbc-driver-file.jar in the driver folder:
1- Run Workbench Schema (.sh on unix / linux based systems)
2 Go to Tools β Settings and configure the connection string:
3- Go to File -> Open and open your cube
4 Go to File β Create β MDX ββQuery
If you need a more beautiful view of your MDX request using jPivot, you can use the bi server for testing.
source share