I just installed the Bob Swift SQL plugin and am trying to display anything just to get familiar with the tool to evaluate if it meets our needs. I am accessing my moc mysql confluence database and tried to run this basic command:
SELECT * FROM conf.SPACES
where SPACETYPE='global';
with this config:
jbDriver=com.mysql.jdbc.Driver | jbUser=<username>| jbPassword=<password> | jbURL=jdbc:mysql://bos-mysqltest1/conf?autoReconnect=true&sessionVariables=storage_engine%3DInnoDB&useUnicode=true&characterEncoding=utf8 | dbJar=/opt/atlassian/apps/confluence/confluence/WEB-INF/lib/mysql-connector-java-5.1.11.jar
I am getting this error:
Error rendering macro 'sql-query' : Security restricted macro is not allowed. An edit restriction is required that matches the macro authorization list.
It is probably my configuration but I am not real sure how to find out. I read the documentation and installed the macro security plugin as well and added these lines to my macro-security.properties
sql-file=*ANY
sql-file.datasource.*=*ANY
sql-file.file.example.sql=*ANY
Do I have to reboot Confluence? Anything else I am doing wrong?
Conf version 5.6.2 plugin version 7.1.1
Thanks in advance!
Robert