The problem of interaction of MQL with databases is not new, however it's still relevant. Use of databases can greatly enhance the possibilities of MetaTrader: storage and analysis of the price history, copying trades from one trading platform to another, providing quotes/trades in real time, heavy analytical computations on the server side...
The problem of interaction of MQL with databases is not new, however it's still relevant. Use of databases can greatly enhance the possibilities of MetaTrader: storage and analysis of the price history, copying trades from one trading platform to another, providing quotes/trades in real time, heavy analytical computations on the server side...
has anyone converted to UTF-8 ?
I resolved some problems with 64bit Windows (7) by creating an x64 configuration in Visual Studio 2017. (And finding latest mysql libraries).
Can I suggest to the author, maybe putting the source on github, then it can be maintained there by the community.
With thanks to Eugeniy Lugovoy for a first class piece of software :)
Hi,
Could you help us with your solution? I'm struggling to solve this issue, but I have 0 experience with c++ and VS.
Thank you.
i have same problem
"Cannot load 'C:\Users\Admin\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\MQL5\libraries\MQLMySQL.dll'"
"Cannot call 'cMySqlVersion', '..\libraries\MQLMySQL.dll' is not loaded"
"unresolved import function call"
i am waiting your help.........
I don't know if you still have this problem or not, but I solved it by changing the:
#import "..\libraries\MQLMySQL.dll"
to
#import "..\Libraries\MQLMySQL.dll"
(The "\libraries\MQLMySQL.dll' is not loaded" error only appeared in the Strategy Tester)
This library works great, thanks to the programmer.
Hello for resolve the mistake:
"Cannot load 'C:\Users\Admin\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\MQL5\libraries\MQLMySQL.dll'"
"Cannot call 'cMySqlVersion', '..\libraries\MQLMySQL.dll' is not loaded"
"unresolved import function call"
You have to open the project from visual studio and re-compile everything and add DLL in to MT5 or MT4 again.
Work x64:
Hi all.
I've rebuilt DLLs and MQL libraries (of MQLMySQL) to support unicode, now reviewing all sources and will share on GitHub very soon.
Also I'm testing now MQLAdoDB project to work with different databases (MS SQL, Oracle, PostgreSQL, MS Access, etc) from MQL using AdoDB & OLEDB.
This project also would be available soon on GitHub, and of course it would be free.
Best regards,
Eugene
Codepage UTF-8 is supported now.
<Deleted>
Happy New Year & good luck in development!
Eugene