Hi, The database URL "jdbc:h2:~/test" means the database file is stored in the current user home directory. That could be the home directory of root. Maybe the easiest way is to search for the file using
sudo find / -name test.h2.db sudo find / -name test.mv.db By the way, the latest trunk version only creates the test.mv.db file when appending ";mv_store=true" to the database URL. Regards, Thomas On Friday, January 10, 2014, Famco wrote: > Hi Thomas, > thank you for the support. Still cannot finde the database file. Maybe > this ist because I start the application with sudo (because I use pi4j wich > need admin rights). > > Peter > > Am Donnerstag, 2. Januar 2014 14:12:37 UTC+1 schrieb Famco: >> >> Hi, >> >> I am working on a home project with h2 on Raspberry Pi. I managed to get >> the h2 running and it seems to work good and pretty fast. Now I have some >> questions wich the manual doesnt answer: >> >> 1) the quickstart section on the homepage tells that using "jdbc:h2:~/test" >> should create the test database in the homedirectory. In fact the database >> exists (because it works!), but i cannot find the file on the raspberry pi. >> 2) should I use any special settings to avoid problems caused by an >> unexpected "powerdown" of the raspberry? >> >> Thank you in advance >> >> Famco >> > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:_e({}, > 'cvml', 'h2-database%[email protected]');>. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', > '[email protected]');> > . > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/groups/opt_out.
