hmailserver错误 - 与数据库的连接不可用

时间:2013-10-02 09:47:31

标签: hmail-server

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

答案 0 :(得分:5)

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

答案 1 :(得分:3)

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

答案 2 :(得分: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. 如果有'取消阻止'复选框下方的' General'选项卡,检查并单击确定
  7. 重新启动/继续安装hmailserver

答案 3 :(得分:1)

如果您已经将文件 libmysql.dll 放在其位置,并且具有相同的错误,则

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

  2. 在安装期间按照设置进行配置,但请确保 选择。

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

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

    • Next将您的数据库服务器名称/ Port,数据库名称(应该是 与您在创建时完全相同 安装,就我而言,您可以通过进入数据库进行检查 phpmyadmin),然后单击“下一步”,您应该可以连接。