如何将 HmailServer 连接到 MySQL(在 WAMP 中)?

How do i connect HmailServer to MySQL( in WAMP)?

enter image description here我正在尝试结合 wamp/mysql 安装 hmailserver。

我收到一条错误消息,hmailserver 建议手动复制文件。

复制粘贴:

Error: The MySQL client (libmysql.dll, 32 bit) could not be loaded. hMailServer needs this file to be able to connect to MySQL. The MySQL client needs to be manually copied to the hMailServer Bin directory. The file is not included in the hMailServer installation. Path: H:\Program Files (x86)\hMailServer\Bin\libmysql.dll.

我在服务中没有看到 MySql(“HmailServer 数据库升级中的第 5 步 - 第 5 步,共 7 步”)。而且 wampapache 也不起作用。 谢谢你的帮助。

enter image description here

MYSQL 服务器服务被调用 wampmysqld 或者如果您有 64 位 WAMPServer wampmysqld64

不过我建议您选择其他选项,将 SQLServer 数据库与 hmailserver 一起使用。

如果您使用 MySQL 我承认这似乎是最明显的选择,那么每次您将另一个 MySQL 服务器版本添加到 WAMPServer 时,您都必须将 hmailserver 数据库迁移到新的MySQL,和我一样忘记了。

如果您将内置的 SQLServer 数据库与 hmailserver 一起使用,那么只要您在 WAMPServer 的 MySQL 服务器版本中更改某些内容,基本上就可以忘记 hmailserver。

我想通了。我进入 "C:\wamp\bin\mysql\mysql5.7.14\lib" 右击 "libmysql.dll" 下一步按复制。我转到 "C:\Program Files (x86)\hMailServer\Bin" 并将复制的文件粘贴到其中

关于 hMailServer 和 MySQL 8.x

如果您 运行 32 位或 64 位 MySQL 服务器在同一个 Windows 上并不重要 只要您在 hMailServer /bin 文件夹或您的 PATH 环境变量中有所需的 libmysql.dll 文件,机器或远程服务器上(无论哪个 OS)。

关于 MySQL 8.x: MySQL 8.x 默认启用其新的 API API 与 所有 hMailServer 版本。您需要在允许的混合模式下配置 MySQL 8.x 5.7.x MySQL 客户端连接以使其与hMailServer 一起工作。你也可以使用 a MySQL 5.7.x 在没有任何配置的情况下发布,使其开箱即用。 有关更多信息,请参阅:https://www.hmailserver.com/forum/viewtopic.php?f=10&t=33819