DB setup step 6

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
Jdinaparek
New user
New user
Posts: 11
Joined: 2013-04-22 14:36

DB setup step 6

Post by Jdinaparek » 2013-04-22 15:41

Hi, I have this error:

Starting task...
Please wait while updating database settings...
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: C:\Program Files (x86)\hMailServer\Bin\libmysql.dll

I tried to copy my libmysql.dll file from bin forlder of my MySQL, but it didn't help... Can you help me?

Bill48105
Developer
Developer
Posts: 6192
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: DB setup step 6

Post by Bill48105 » 2013-04-22 16:04

Looks like you're on 64bit windows. Did you try the 64bit mysql dll? hmail is 32bit but you need to match your OS
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***

Jdinaparek
New user
New user
Posts: 11
Joined: 2013-04-22 14:36

Re: DB setup step 6

Post by Jdinaparek » 2013-04-22 16:22

Yeah I have 64 bit OS. So I have to download 32 bit dll file from internet or what? The one that I have there now is from MySQL, which run on the same PC

User avatar
mattg
Moderator
Moderator
Posts: 20239
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: DB setup step 6

Post by mattg » 2013-04-22 16:29

Jdinaparek wrote:Yeah I have 64 bit OS. So I have to download 32 bit dll file from internet or what?
Yes, and the error message tells you that

There are some copies saved on these forums so do a search

we are not allowed to include it because hMailserver 5.x <5.4 wasn't open source and it was against the EULA of MySQL to include the 32 bit dll
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Jdinaparek
New user
New user
Posts: 11
Joined: 2013-04-22 14:36

Re: DB setup step 6

Post by Jdinaparek » 2013-04-23 09:49

I download it from here http://vertstudios.com/blog/libmysqldll ... -download/ and now I get error:

Starting task...
Please wait while updating database settings...
Settings updated.
Restarting server...
Database initialization failed.

Jdinaparek
New user
New user
Posts: 11
Joined: 2013-04-22 14:36

Re: DB setup step 6

Post by Jdinaparek » 2013-04-23 16:52

Does anyone have libmysql.dll for 32 bit OS? It seems like this one doesn't work...

User avatar
mattg
Moderator
Moderator
Posts: 20239
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: DB setup step 6

Post by mattg » 2013-04-24 01:24

Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply