3

亲爱的先生,我尝试在我的家用电脑上制作网络邮件服务器。所以我下载并安装了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"
4

4 回答 4

6

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

于 2015-07-16T12:48:01.507 回答
4

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

于 2013-11-29T05:18:47.557 回答
1
  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
于 2017-05-14T16:51:11.087 回答
0

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

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

  2. 在安装期间配置它,但确保选择。

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

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

    • 接下来输入您的数据库服务器名称/端口,数据库名称(应该与您在安装时创建的完全相同,在我的情况下,您可以通过转到您的数据库来检查它 phpmyadmin)然后单击下一步,您应该能够连接。

于 2020-02-22T05:01:36.080 回答