【问题标题】:How to install "Gerrit" in linux machine without any error?如何在 linux 机器上安装“Gerrit”而不会出现任何错误?
【发布时间】:2016-11-18 11:49:50
【问题描述】:

我无法在我的 Linux 服务器上安装 Gerrit 并出现以下错误。

我的配置文件:

错误:

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"

【问题讨论】:

    标签: java mysql linux gerrit


    【解决方案1】:

    您的数据库服务器名称和端口规范似乎有误。它们都被指定为'y'

    【讨论】:

    • 感谢您提供上述解决方案@uncletall... 现在出现不同的错误(如下所述)致命:DbInjector 失败致命:无法确定 SqlDialect 致命:由 java.sql.SQLException 引起:用户访问被拒绝'gerrit'@'ip-10-xx-x-xx.ec2.internal'(使用密码:YES)
    • 检查你输入的密码是否正确,可以在/home/gerrit2/review_site/etc/secure.config中找到
    • 你可能想尝试连接到 127.0.0.1
    猜你喜欢
    • 2020-05-14
    • 2015-12-26
    • 2017-05-02
    • 2013-08-09
    • 2011-05-18
    • 1970-01-01
    • 2015-01-31
    • 1970-01-01
    • 2017-09-21
    相关资源
    最近更新 更多