I am stucked while hMailServer server database setup and it is showing following error - hmail-server

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

It's a bit more complicated.
You should read this Article which explain why it can be problematic with hMailServer 5.6.x
and MySQL 8.x or higher
Support article:
https://www.hmailserver.com/forum/viewtopic.php?f=10&t=33531
MySQL-Archive Downloads for MySQL 5.x compatible libmysql.dll versions
https://downloads.mysql.com/archives/community/

Related

Fatal Error Step 8 of Setup: Does not support MySQL versions below 5.6

So I (believe) that I have gotten to step 8 of the installation guide for azerothcore (on windows). But when I run either authserver or worldserver, I get this message:
C:\Users\Ethan\azerothcore\src\common\Database\DatabaseWorkerPool.cpp:22 in DatabaseWorkerPool<class WorldDatabaseConnection>::DatabaseWorkerPool FATAL ERROR:
AzerothCore does not support MySQL versions below 5.6
But I have MySQL 5.6, so I am not sure what is going wrong. Any ideas?
Thanks in advance!
This is caused by using a too old version of libmysql.dll. Make sure it comes from a MySQL install of version 5.6+. You'll find it in "C:\Program Files\MySQL\MySQL Server 5.X\lib", just copy it from there and paste it to whatever folder you launch AzerothCore from.

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

enter image description hereI'm try to install hmailserver in combination with wamp/mysql.
I get an errormessage, hmailserver recommends to copy a file manually.
copypaste:
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.
I don't see MySql in the service (Step 5 in the "HmailServer Database Step up -Step 5 of 7). And wampapache doesn't work either.
Thank you for the help.
enter image description here
I figured it out. I go into "C:\wamp\bin\mysql\mysql5.7.14\lib" right click "libmysql.dll" next press copy. I go to "C:\Program Files (x86)\hMailServer\Bin" and paste the copied file into it
The MYSQL Server service is called wampmysqld or if you have the 64bit WAMPServer wampmysqld64
However I would suggest that you take the other option and use the SQLServer database with hmailserver.
If you use MySQL which I admit seems like the most obvious option, then every time you ADDON another MySQLServer version to WAMPServer you will have to migrate the hmailserver database over to the new MySQL, and like me forget to do so.
If you use the built in SQLServer database with hmailserver, you can basically forget about hmailserver whenever you change something in WAMPServer's MySQLServer versions.
Regarding hMailServer and MySQL 8.x
It doesn't matter if you run a 32-Bit or 64-Bit MySQL Server on the same Windows
Machine or on a Remote server (regardless which OS) as long as you have the required libmysql.dll file in hMailServer /bin folder or a at your PATH Environment variable.
Regarding MySQL 8.x:
MySQL 8.x enables per default its new API API which is incompatible with
all hMailServer versions. You need to configure MySQL 8.x in mixed mode which allows
5.7.x MySQL Clients to connect to make it work with hMailServer. You also can use
a MySQL 5.7.x Release without any configuration to make it work out of the box.
For more info see: https://www.hmailserver.com/forum/viewtopic.php?f=10&t=33819

Crucial? mysqldump Version Mismatch

Under Ubuntu 14.04 LTS, I want to backup my mysql database.
When making the backup with mysql workbench (via: "Server" - "Data Export"), I get a notification:
mysqldump Version Mismatch
/usr/lib/mysql-workbench/mysqldump is version 5.7.9, but the MySQL Server to be dumped has version 5.7.17.
Because the version of mysqldump is older than the server, some features may not be backed up properly.
It is recommended you upgrade your local MySQL client programs, including mysqldump to a version equal to or newer than that of the target server.
The path to the dump tool must then be set in Preferences -> Administrator -> Path to mysqldump Tool:
Question:
can I ignore this mismatch for these very versions? Or is it really dangerous?
download the exact ("mysql-5.7.17-winx64")version of your windows operating system extract it go to --bin --find "mysqldump or mysqldump.exe" copy it and go ("Mysql Server 5.7") then find --bin again and paste it their restart your workbench and viola..problem solve..!!!!
I had the same problem. MySQL was installed from WampServer, by the other hand I have installed MysqlWorkbench. if your installation is similar, do the following:
Go to the Wampserver folder and go to \bin\mysql\mysql5..(version)..\bin and copy mysqldump.exe (which is newer than the version you have in your workbench);
Go to Program files\mysql\mysqlworkbench..(version).. and Paste overwriting the existing mysqldump.exe
Close Windows Explorer. Restart your workbench.

MySql configuration file does not exist where WorkBench says so

I'm new to MySql. I have downloaded and installed MySql 5.6 together with the latest version of Workbench (6.2). Workbench says my configuration file is in
C:\Program Files\MySQL\MySQL Server 5.0\my.ini
This folder does not exist. I have
C:\Program Files\MySQL\MySQL Server 5.6
And inside this folder there is an .ini file called my-default.ini. How can I find the correct .ini file so I can change my variables?
The name and path used by MySQL Workbench by default is taken from a template. There are several templates for various server versions and platforms with typical config file locations. However, they may not always work. On Windows however, with standard installations (which are extremely common), there are only very few variations. The simplest way to have the correct config file stored in the connection settings is by changing the installation type in the System Profile settings for a connection:
The sample config file my-default.ini is just that, an example. The installer should have created a concrete config file in the ProgramData MySQL folder for your server, which is what MySQL Workbench will also use by default.
For someone wants to find the menu answered above,
It can be found when you right click on a connection instance box of your MySQL workbench home and go to edit connection.
I know this question posted 5 years ago, but I had looked for the menu as well and finally find it. I hope I can add a comment but I cannot due to the reputation;)

where is mysql server's default data folder in windows 7

I am looking for the data directory of mysql server (5.1.42) I installed on my machine which runs win7.
There is no 'data' direcotory in C:\Program Files\MySQL\MySQL Server 5.1 and also in C:\Users\MyAccount\AppData\Local||LocalLow||Roaming
Different MySQL/Windows versions have different data folder locations. To get your ACTUAL data folder location just execute this SQL:
SHOW VARIABLES WHERE Variable_name LIKE '%dir'
Must be C:\ProgramData\MySQL\MySQL Server 5.1\data.
Was not really a good idea to place data here by default. It is compatible with various Vista compatibility requirements, but is eather hard to find, especially given the ProgramData folder is hidden.
You can find the data directory at this location
C:\ProgramData\MySQL\MySQL Server 5.5\data\<YourDataDirectory\TableName.frm>
The path can be defined in my.ini (located in Windows directory) as datadir.
I have had the problem to find the data directory too and even to start the mysql the second time after installing the server 5.7 on Windows 7.
In contrary to some answers here and to the documentation (the part about location of my.ini), the my.ini location was c:\ProgramData\MySQL\MySQL Server 5.7\my.ini the data location was c:\ProgramData\MySQL\MySQL Server 5.7\Data. In fact it was to see, as default proposed data location, during the installation.
This is what worked for me on Windows 7:
c:\ProgramData\MySQL\MySql Server 5.7> xcopy data c:\MySQL\"MySQL Server 5.7"\data\
After that, run MySQL server with:
c:\MySQL\"MySQL Server 5.7"\bin> mysqld
Thanks to those who shared the information that C:\ProgramData was a hidden directory!
If you installed mysql with the MSI installer,
look here: C:\ProgramData\MySQL\MySQL Server 5.7\ and you should see the data folder.
Even thought my datadir is specified to be located in the default mysql server location, my data is stored in %ProgramData%.
Windows version independent answer.
For MySQL 5.7 on Windows, directory for log files and databases is
"%PROGRAMDATA%\MySQL\MySQL Server 5.7\"
The Windows system variable
%PROGRAMDATA% defaults to C:\ProgramData
source: https://dev.mysql.com/doc/refman/5.7/en/windows-installation-layout.html
After changing the directory, the root password is reset. So, keep in mind, if you change the directory, and have access issues, try to access it without a password then set a new password.
For newer users: The data directory lies in C:\Program Files\MySQL\MySQL Server 8.0\data
I currently have MySQL Server 8.0. If you too, are searching for some error solutions and couldn't find the "data" directory for MySQL, here's a note from the official MySQL:
"The default data directory location is C:\Program Files\MySQL\MySQL Server 8.0\data, or C:\ProgramData\Mysql on Windows 7 and Windows
Server 2008. The C:\ProgramData directory is hidden by default. You
need to change your folder options to see the directory and contents."
Hope this clears some hurdles
Take a look at:
C:\Users\All Users\MySQL\MySQL Server 5.1\data