2016-11-18 8 views
0

私のLinuxサーバーにGerritをインストールすることができません。と下記のエラーが表示されます。"Gerrit"をLinuxマシンに何も問題なくインストールするには?

私のconfigファイル:

Image of Gerrit config with error

がエラー:

fatal: DbInjector failed 
fatal: Unable to determine SqlDialect 
fatal: caused by com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "y"'. 
fatal: caused by java.lang.NumberFormatException: For input string: "y" 

答えて

1

データベース・サーバー名とポートの指定でミスをしたように見えます。 DbInjectorは致命的な を失敗しました::SQLDIALECT致命的な を決定することができません:によって引き起こさ「Y」

enter image description here

+0

は今別のエラー(下記)致命的なを取得uncletall @あなたの上記のソリューションのおかげで...としてこれらは両方とも指定されていますjava.sql.SQLException:ユーザー 'gerrit'@ip-10-xx-x-xx.ec2.internal'のアクセスが拒否されました(パスワード:YESを使用) – Dikil

+0

正しいパスワードを入力したことを確認してください。 /home/gerrit2/review_site/etc/secure.config – uncletall

+0

127.0.0.1に接続しようとするとよいでしょう – uncletall

関連する問題