After issuing this command and entering all the values is config file.
java -jar gerrit.war init -d [path to review_site]
I get the following error:
Has anyone seen this before?
Exception in thread "main" com.google.gwtorm.server.OrmException: Cannot update schema
at com.google.gwtorm.jdbc.JdbcSchema.updateSchema(JdbcSchema.java:60)
at com.google.gerrit.server.schema.SchemaCreator.create(SchemaCreator.java:108)
at com.google.gerrit.server.schema.SchemaUpdater.update(SchemaUpdater.java:55)
at com.google.gerrit.pgm.Init$SiteRun.upgradeSchema(Init.java:181)
at com.google.gerrit.pgm.Init.run(Init.java:79)
at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:167)
at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:91)
at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:49)
at Main.main(Main.java:25)
Caused by: java.sql.SQLException: Column 'IS_AUTOINCREMENT' not found.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.ResultSet.findColumn(ResultSet.java:970)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:5613)
at com.google.gwtorm.schema.sql.DialectMySQL.isSequence(DialectMySQL.java:181)
at com.google.gwtorm.schema.sql.DialectMySQL.listTables(DialectMySQL.java:138)
at com.google.gwtorm.jdbc.JdbcSchema.createRelations(JdbcSchema.java:81)
at com.google.gwtorm.jdbc.JdbcSchema.updateSchema(JdbcSchema.java:54)
... 13 more
Thanks in advance for you help.
Tariq