这是我的文件连接:
type=OLAP
name=ghapBI
driver=mondrian.olap4j.MondrianOlap4jDriver
location=jdbc:mondrian:Jdbc=jdbc:mysql://127.0.0.1/ghapBI;Catalog=/opt/django/bi_data/SchemaGHAP.xml;JdbcDrivers=com.mysql.jdbc.Driver;
username=usrGhapBI
password=hiperSecret
建立连接但出现异常(来自catalina.out):
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
SELECT command denied to user 'usrGhapBI'@'localhost' for table 'alumnes'
注意:
mysql -u usrGhapBI -p ghapBI
答案 0 :(得分:0)
打开目录文件,在您的情况下:/opt/django/bi_data/SchemaGHAP.xml
并在表定义中检查正确的架构:
<Table name="alumnes" schema="**** check here ****" alias="">