Issue connection to MySQL through jDBC with saiku -


this file connections:

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 

connection made exception appears (from catalina.out ):

caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception:  select command denied user 'usrghapbi'@'localhost' table 'alumnes' 

notice than:

  • error same if drop de table.
  • i can connect , select data table mysql -u usrghapbi -p ghapbi

i miss ?

open catalog file, in case: /opt/django/bi_data/schemaghap.xml , check right schema in table definition:

<table name="alumnes" schema="**** check here ****" alias=""> 

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -