Quick details:
1. Linux server; I have PuTTY ssh access.
2. MySQL db (must use this, not another db)
3. Self hosted bare git repo, accessed via SmartGit
Trying to set up Gerrit. I tried the quick install but that seemed to an error...
1. I have updated the Java runtime to 1.8
2. I have downloaded the Gerrit .war file.
3. I have not ever had any luck w/ switching into su mode, only using sudo. (asked for help on the su password)
4. I created the gerrit2 user. I am not that user presently, because of #3 above.
5. I created a folder /var/www/gerrit and made gerrit2 the owner.
6. I created a 'gerrit2'@'localhost' user w/ password in MySQL.
7. I created the requested MySQL reviewdb.
8. I do the interactive java -jar gerrit.war init -d /var/www/gerrit
9. I make some progress, but I get the following error:
fatal: DbInjector failed
fatal: Unable to determine SqlDialect
fatal: caused by java.sql.SQLException: Access denied for user 'gerrit2'@'localhost' (using password: YES)
Also, the init asks "Location of Git repositories [git]:" Is this a repo that Gerrit uses or the repo where my code is at?
Thanks!
-Steve