掲示板

How to inspect the HSQL db using Squirrel SQL?

thumbnail
12年前 に Cameron McBride によって更新されました。

How to inspect the HSQL db using Squirrel SQL?

Expert 投稿: 269 参加年月日: 11/02/08 最新の投稿
I've followed the pretty simple wiki article to setup a connection to the hsql db: http://www.liferay.com/community/wiki/-/wiki/Main/HSQLInspect. Once connected I can see three schemas, one called Public. Under Public I can see Tables but there is nothing listed. I assume there should be some stuff listed for me to check out? I have Liferay stopped when I am inspecting things. I have also tried it with the server running.

添付ファイル:

thumbnail
12年前 に jelmer kuperus によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL? (回答)

Liferay Legend 投稿: 1191 参加年月日: 10/03/10 最新の投稿
It works fine here. Did you forget to add /lportal at the end of your path ?
thumbnail
12年前 に Cameron McBride によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL?

Expert 投稿: 269 参加年月日: 11/02/08 最新の投稿
That was it, works great now that I added lportal to the end. Thanks!
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Thanks for the information on Squirrel SQL. I have to try it out myself. From the screenshot, it seems great. Probably better than setting up mysql databases during testing.emoticon

I think I'll help add Japanese translation to the project for my users here.
thumbnail
10年前 に Clay Banks によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL?

Regular Member 投稿: 141 参加年月日: 13/12/11 最新の投稿
SquirrelSQL just saved my skin thank you all who posted on this thread
12年前 に Fatema Rajkotwala によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL?

New Member 投稿: 2 参加年月日: 12/02/17 最新の投稿
Hi,
I tried to configure the liferay HSQLDB as mentioned in the above article.
I gave the URL as jdbc:hsqldb:file:<Liferay_HOME>/data/hsql/Iportal
I am not getting any errors and when I am testing the Squirrel connection it is showing as Connection successful.
But still I am not able to view the liferay tables.Is there something more that needs to be configured.Please help me out.
thumbnail
10年前 に David Lee によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL?

New Member 投稿: 16 参加年月日: 13/07/16 最新の投稿
Hi,
I get an error when trying to connect:
Caused by: java.sql.SQLException: Unable to create connection. Check your URL.
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:136)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
... 8 more

I am running Windows. So my URL is:
jdbc:hsqldb:file:c:/liferay/data/hsql/lportal

Is this correct? Please help. Thanks in advance!!
thumbnail
9年前 に Roberto Méndez によって更新されました。

RE: How to inspect the HSQL db using Squirrel SQL?

New Member 投稿: 2 参加年月日: 14/08/13 最新の投稿
You must use a jdbc connection like this:

jdbc:hsqldb:file:/C:/liferay-portal-6.2-ce-ga2/data/hsql/lportal