Hello,
We are trying to test out the PocketQuery plugin for Confluence. We aren’t able to set up our database though. We use an instance name and can’t seem to get it to work. These are the URL’s we have tried so far (it is a SQL 2008 Server):
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com:1433/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER:1433/LANDMARKS
jdbc:jtds:sqlserver://SQLEXPRESS.ad.here.com:1433/LANDMARKS
jdbc:jtds:sqlserver://SQLEXPRESS:1433/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com:1433\SQLEXPRESS/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER:1433\SQLEXPRESS/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER\SQLEXPRESS:1433/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com\SQLEXPRESS:1433/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com;instanceName=SQLEXPRESS:1433/LANDMARKS
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com:1433/LANDMARKS;instance=SQLEXPRESS
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com:1433/LANDMARKS;instanceName=SQLEXPRESS
jdbc:jtds:sqlserver://SQL-SERVER.ad.here.com;instanceName=SQLEXPRESS;databaseName=LANDMARKS;
The servername is “SQL-Server.ad.here.com”. The Instance is “SQLEXPRESS”. And the database name is “LANDMARKS”. Do you have any suggestions? We just keep getting timeout errors or cannot connect to the database errors.
Thanks
Lisa
Hi Lisa,
on our MSSQL instance, we are using this syntax:
jdbc:jtds:sqlserver://hostname:1433/dbname;useLOBs=false
If this doesn't work, there must be some credential or network issue. For further inspection, can you please add a DEBUG log entry at ConfluenceAdmin > Logging and Profiling for de.scandio.confluence.plugins.pocketquery ? Please test the connection again and send us the log files, if that's possible.
Also, if you have remote access to the server, try to ping the SQL server in CMD with "ping SQL-SERVER.ad.here.com".
Regards, Felix
By the way: also make your the MSSQL driver (e.g. ) is in your Confluence install directory as mentioned in the PocketQuery documentation:
PocketQuery requires the correct JDBC driver you reference in the admin section to reside in your confluence-install/confluence/WEB-INF/lib directory. Putting it there requires a Confluence restart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Sorry it took so long to respond. We figured out that the SQL server is restricted so that is why our confluence server can't see it. We are working on opening up the ports on the firewall. I will let you know if we continue to have problems.
Lisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great. Just let us know if you have further questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.