Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hi, I have set up a JNDI datasource which tests correctly but when I go on to create a 'query' dataset and paste the query in the box i get this error 'No database selected Query is:'  Any ideas what could be causing this issue? thanks in advance.
Environment knowage 6.1.1, centos 7.2
in Data Set by (400 points)
reopened by
Can you please provide the correct answer instead of closing the question?

Thanks

1 Answer

0 votes
 
Best answer
I had not defined the datasource in $knowage_home/conf/ server.xml under the 'url' section(url="jdbc:mariadb://host:3306/datasource"). I added the datasource and knowage could then correctly test for JNDI datasource connections.
by (400 points)
selected by
...