Diskussion zum Artikel "Wie man auf die MySQL-Datenbank von MQL5 (MQL4) aus zugreift" - Seite 22

 

Hat jemand nach UTF-8 konvertiert?

 
Tolle Bibliothek. Schade, dass sie das kyrillische Alphabet nicht unterstützt.
 
phlixetrader:

Ich habe einige Probleme mit 64bit Windows (7) gelöst, indem ich eine x64-Konfiguration in Visual Studio 2017 erstellt habe. (Und die neuesten mysql-Bibliotheken finden).

Kann ich dem Autor vorschlagen, vielleicht setzen die Quelle auf github, dann kann es dort von der Gemeinschaft gepflegt werden.

Mit Dank an Eugeniy Lugovoy für ein erstklassiges Stück Software :)

Hallo!

Könnten Sie uns mit Ihrer Lösung helfen? Ich bin bemüht, dieses Problem zu lösen, aber ich habe 0 Erfahrung mit C++ und VS.

Ich danke Ihnen.

 
Eugeniy Lugovoy, Sie sind wunderbar. Danke, dass Sie die 64-Bit-Version von MQLMySQL.dll zur Verfügung stellen.
 

Alnamri Alnamri:

Ich habe dasselbe Problem

"Cannot load 'C:\Users\Admin\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\MQL5\libraries\MQLMySQL.dll'"

"Aufruf von 'cMySqlVersion' nicht möglich, '..\libraries\MQLMySQL.dll' ist nicht geladen"

"Unaufgelöster Importfunktionsaufruf "


Ich warte auf Ihre Hilfe.........

Hallo Alnamri,
Ich weiß nicht, ob du dieses Problem immer noch hast oder nicht, aber ich habe es gelöst, indem ich die:

#import "..\libraries\MQLMySQL.dll"
zu
#import "..\Libraries\MQLMySQL.dll"

(Der Fehler "\libraries\MQLMySQL.dll' is not loaded" erschien nur im Strategy Tester)

Diese Bibliothek funktioniert hervorragend, vielen Dank an den Programmierer.

 

Hallo zur Behebung des Fehlers:


"Cannot load 'C:\Users\Admin\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\MQL5\libraries\MQLMySQL.dll'"

"Aufruf von 'cMySqlVersion' nicht möglich, '..\libraries\MQLMySQL.dll' ist nicht geladen"

"Unaufgelöster Importfunktionsaufruf "


Sie müssen das Projekt in Visual Studio öffnen und alles neu kompilieren und die DLL erneut in MT5 oder MT4 einfügen.


Funktioniert x64:

2019.12.27 17:26:05.437 MySQL-001 (EURUSD,M1) MQLMySQL v2.2 x64 Copyright © 2014, FxCodex Laboratory
2019.12.27 17:26:05.438 MySQL-001 (EURUSD,M1) Host: , Benutzer: , Datenbank:
2019.12.27 17:26:05.438 MySQL-001 (EURUSD,M1) Verbindungsaufbau...
2019.12.27 17:26:07.458 MySQL-001 (EURUSD,M1) Verbunden! DBID#0
2019.12.27 17:26:09.460 MySQL-001 (EURUSD,M1) Verbunden! DBID#1
2019.12.27 17:26:11.463 MySQL-001 (EURUSD,M1) Verbunden! DBID#2
2019.12.27 17:26:11.463 MySQL-001 (EURUSD,M1) Alle Verbindungen geschlossen. Skript fertig!

Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
  • www.mql5.com
//| Expert initialization function                                   | //| Expert deinitialization function                                 | //| Expert tick function                                             | //| test1                                                            |...
 

Hallo alle.

Ich habe DLLs und MQL-Bibliotheken (von MQLMySQL) umgebaut, um Unicode zu unterstützen, jetzt alle Quellen zu überprüfen und wird auf GitHub sehr bald teilen.

Außerdem teste ich gerade das MQLAdoDB Projekt, um mit verschiedenen Datenbanken (MS SQL, Oracle, PostgreSQL, MS Access, etc) von MQL mit AdoDB & OLEDB zu arbeiten.

Dieses Projekt würde auch bald auf GitHub verfügbar sein, und natürlich wäre es kostenlos.

Mit freundlichen Grüßen,

Eugene

 
 
Die MQLMySQL-Bibliothek Version 3.0 ist freigegeben und auf GitHub veröffentlicht: Funktionssatz
- MQL5 x64 (alte Schule) - Funktionssatz
- MQL5 x64 (Klassen) - Klassen für MQL5

<Löschen>


Frohes neues Jahr & viel Erfolg bei der Entwicklung!

Eugene

elugovoy/MQLMySQL-Project
elugovoy/MQLMySQL-Project
  • elugovoy
  • github.com
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...
 
Die MQLMySQL-Bibliothek Version 3.0 wurde freigegeben und auf GitHub veröffentlicht: https://github.com/elugovoy/MQLMySQL-Project.

Alle weiteren Korrekturen und Aktualisierungen werden in das GitHub-Repository gestellt.

UTF-8 Code Page wird nun unterstützt.

Das Projekt enthält 3 Kataloge für:
- MQL4 x86 - Satz von Funktionen
- MQL5 x64 (alte Schule) - eine Reihe von Funktionen
- MQL5 x64 (Klassen) - Klassen für MQL5.

Alle Details in README.md
elugovoy/MQLMySQL-Project
elugovoy/MQLMySQL-Project
  • elugovoy
  • github.com
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...