HI I hav emade some progress. I downloader h2 and started the H2 Concole. I updated the database as instructed by the Gerrit community but when I started Gerrit again I get the following message:
Caused by: org.h2.jdbc.JdbcSQLException: Unsupported database file version or invalid file header in file "/home/gerrit2/gerrit-github-installation/db/ReviewDB.h2.db" [90048-174] Is that probably due to that the version of h2 that I use is the latest and the Gerrit h2 version is an older version? I tried to look at the raw file and could not see any differences in the begining of the file before and after the change I did. Or is it more likely that the error message is due to that I made the change at a Windows computer but I am running Gerrit at a Ubuntu? Regards Anders Den onsdag 23 september 2015 kl. 13:04:26 UTC+2 skrev Anders Persson: > > HI > > I upgraded my Gerrit installation and need to update some data in the > database to get access to Gerrit again. I have tried to access the database > via DbVisualizer but I can not find the data in the database. I just see > the table definitions etc. Since I am not very used to relational databases > I am stuck and need help to understand if I try to access the correct > database, e.g. is it the DB folder in the Gerrit installation that contains > the information that I need to find and then if you could give me some > advice of which tool I should connect to the database. > Furthermore I am not sure what the username and password is for the > database since I think it is some default value. If I try different values > I get no connections but if I leave it empty I get access but I do not see > any data, just system tables. > > Regards > > Anders > -- 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/d/optout.
