elugovoy / MQLMySQL-Project

MQL & DLL libraries for working with MySQL database
GNU General Public License v3.0
48 stars 29 forks source link

can't be put on the win2008 server. #7

Open pershow opened 3 years ago

pershow commented 3 years ago

Hello, teacher, I use mt4 software. The local win10 system can use ea to connect to mysql. It can be used normally, but it can't be put on the win2008 server. It always prompts'..\libraries\MQLMySQL.dll' is not loaded... Such errors,

I downloaded all the versions including mt4, mt5, 64-bit and 32-bit, but they still can’t be used. What should I do?

elugovoy commented 3 years ago

I've never tried to use it on Win2008 server, but I saw in MQL community that updating OpenSSL can help. Also, I had a short feedback from one of developers regarding error: "Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\Libraries\MQLMySQL.dll' [126]" His advise was: ...I know that was supposed to work, but really...it didn't. I had to copy mfc140.dll files online and put in the System32 folder. I just thought you should know. So, possible right version of MFC libraries needs to be installed. The problem and such solution was reported for Windows Server 2019 Datacenter, version 1809

nostartbutrings commented 11 months ago

Any news on that? How can I find the right version? Same Problem here with Windows Server 2022 Datacenter 21H2. Since VPS are really popular ATM and most of them use server systems this should be addressed.

nostartbutrings commented 11 months ago

... How can I find the right version? Same Problem here with Windows Server 2022 Datacenter 21H2. ....

Ok, was able to solve this: This mfc140XY.dll files are part of "Visual C++ Redistributable for Visual Studio 2015". It can be downloaded here (I used it, even if Windows Server 2022 is not included in the requirements): https://www.microsoft.com/en-ie/download/details.aspx?id=48145

I used X64 package and voila... it is working now :-)