【问题标题】:hmailserver error- the connection to the database is not availablehmailserver 错误 - 与数据库的连接不可用
【发布时间】:2013-10-08 16:08:16
【问题描述】:

尊敬的先生,我尝试在我的家用电脑上制作网络邮件服务器。 所以我下载并安装了hmailserver。 但是当我尝试连接它时。 报错“与数据库的连接不可用”

当我看到日志文件时,它有以下错误。 请帮帮我

"ERROR" 2920    "2013-10-02 01:00:58.431"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:00:59.675"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:00.185"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:00.712"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:01.228"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:01.611"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:01.786"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:01.929"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:02.230"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:02.387"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"
"ERROR" 2920    "2013-10-02 01:01:03.422"   "Severity: 1 (Critical), Code: HM5094, Source: MySQLInterface::Load, Description: Error:[nl]The MySQL client (libmysql.dll, 32 bit) could not be loaded.[nl]hMailServer needs this file to be able to connect to MySQL.[nl]The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation.[nl]Path: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll"

【问题讨论】:

    标签: hmail-server


    【解决方案1】:

    如果您已经有文件 libmysql.dll 并出现相同的错误,那么

    1. 开始搜索 hmailserver 数据库设置。

    2. 在安装过程中按照您的设置进行配置,但请确保 选择。

      • 选择一个新的 hmailserver 默认数据库(选择你的数据库 已经创建)

      • 选择默认服务器类型 - Microsoft SQL Server/MySQL/PostgreSQL (无论您在安装过程中配置哪个)

      • 下一步把你的数据库服务器名/端口,数据库名(应该是 与您当时创建的完全相同 安装,在我的情况下,您可以通过访问您的数据库来检查它 phpmyadmin) 然后点击下一步你应该可以连接了。

    【讨论】:

      【解决方案2】:
      1. 转到https://dev.mysql.com/downloads/connector/c/
      2. 下载 Windows(x86,32 位),ZIP 存档
      3. 解压下载的文件夹
      4. 将 libmysql.dll 文件从(解压文件夹)\mysql-connector-c-6.1.10-win32\lib\libmysql.dll 复制到 C:\Program Files (x86)\hMailServer\Bin
      5. 右键单击 libmysql.dll 文件并单击属性
      6. 如果“常规”选项卡底部有“取消阻止”复选框,请选中并单击“确定”
      7. 重新启动/继续安装 hmailserver

      【讨论】:

        【解决方案3】:

        如果您安装了 64 位 MySql 服务器,使用 hmailserver,您必须搜索 LibMySQL.dll 并下载 32 位文件。被警告以避免错误。

        【讨论】:

        【解决方案4】:

        您需要将libmysql.dll 放在C:\Program Files (x86)\hMailServer\Bin\ 目录中。如果您已安装 WAMP,则可以从 C:\wamp\bin\mysql\mysql5.x.x\lib 文件夹中获取此 .dll 的副本。

        【讨论】:

          猜你喜欢
          • 2018-02-28
          • 2012-11-22
          • 1970-01-01
          • 2020-12-12
          • 2016-03-15
          • 2014-03-07
          • 1970-01-01
          • 1970-01-01
          • 2015-04-20
          相关资源
          最近更新 更多