Re: help with opening a h2.db file

129 views
Skip to first unread message

erel joffe

unread,
Oct 7, 2012, 12:19:57 PM10/7/12
to h2-da...@googlegroups.com
Found the answer - the file name has to be without the extension.


On Friday, October 5, 2012 12:12:43 PM UTC-5, erel joffe wrote:
Hi,

I apologize in advance as I am new to H2 and don't have much programming experience.
I am trying to open a .h2.db file.
I have tried:
1. In embedded mode the URL - C:\Users\ejoffe\Downloads\SubNotes_EX2\SubNotes_EX2\extractors\-508919890\-867784364\features.h2.db (which is the path to the file)
2. In server mode the URL - jdbc:h2:tcp://localhost/C:\Users\ejoffe\Downloads\SubNotes_EX2\SubNotes_EX2\extractors\-508919890\-867784364\features.h2.db

The system loads what looks to be a default database and not the database that is stored in the file.
I don't know what am I doing wrong and could not find the answer in the forum or the tutorials (might be due to my inexperience with programming).

I would be grateful if you could take me through the steps of loading my file.

Thanks,
Erel
Reply all
Reply to author
Forward
0 new messages