기고글 토론 "MQL5(MQL4)에서 MySQL 데이터베이스에 액세스하는 방법" - 페이지 22

 

UTF-8로 변환한 사람이 있나요?

 
훌륭한 라이브러리. 키릴 문자를 지원하지 않는 것이 아쉽습니다.
 
phlixetrader:

Visual Studio 2017에서 x64 구성을 생성하여 64비트 Windows(7)의 일부 문제를 해결했습니다. (그리고 최신 mysql 라이브러리를 찾았습니다).

작성자에게 소스를 깃허브에 올리면 커뮤니티에서 유지 관리할 수 있다고 제안할 수 있을까요?

최고 수준의 소프트웨어를 제공해 주신 Eugeniy Lugovoy에게 감사드립니다.)

안녕하세요,

해결책을 도와주실 수 있나요? 이 문제를 해결하기 위해 고군분투하고 있지만 c++ 및 VS에 대한 경험이 0입니다.

감사합니다.

 
유지니 루고보이, 당신은 훌륭합니다. 64비트 버전의 MQLMySQL.dll을 공유해 주셔서 감사합니다.
 

Alnamri Alnamri:

같은 문제가 있습니다.

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

"'cMySqlVersion'을 호출할 수 없습니다, '..\libraries\MQLMySQL.dll'이 로드되지 않았습니다."

"해결되지 않은 가져오기 함수 호출"


나는 당신의 도움을 기다리고 있습니다.........

안녕하세요 알남리,
여전히이 문제가 있는지 여부는 모르겠지만 변경하여 해결했습니다 :

#"..\ 라이브러리\MQLMySQL.dll"

#import "..\ 라이브러리\MQLMySQL.dll"로 변경했습니다.

( '\libraries\MQLMySQL.dll'이 로드되지 않았습니다.' 오류는 전략 테스터에서만 나타났습니다.)

이 라이브러리는 프로그래머 덕분에 훌륭하게 작동합니다.

 

오류를 해결해 주셔서 감사합니다:


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

"'cMySqlVersion'을 호출할 수 없습니다, '..\libraries\MQLMySQL.dll'이 로드되지 않았습니다."

"해결되지 않은 가져오기 함수 호출"


비주얼 스튜디오에서 프로젝트를 열고 모든 것을 다시 컴파일한 후 DLL을 MT5 또는 MT4에 다시 추가해야 합니다.


작업 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: , 사용자: , 데이터베이스:
2019.12.27 17:26:05.438 MySQL-001 (EURUSD,M1) Connecting...
2019.12.27 17:26:07.458 MySQL-001 (EURUSD,M1) Connected! DBID#0
2019.12.27 17:26:09.460 MySQL-001 (EURUSD,M1) Connected! DBID#1
2019.12.27 17:26:11.463 MySQL-001 (EURUSD,M1) Connected! DBID#2
2019.12.27 17:26:11.463 MySQL-001 (EURUSD,M1) 모든 연결이 종료되었습니다. 스크립트 완료!

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                                                            |...
 

안녕하세요.

유니코드를 지원하기 위해 (MQLMySQL의) DLL 및 MQL 라이브러리를 다시 빌드했으며, 현재 모든 소스를 검토하고 있으며 곧 GitHub에서 공유할 예정입니다.

또한 AdoDB 및 OLEDB를 사용하여 MQL에서 다른 데이터베이스(MS SQL, Oracle, PostgreSQL, MS Access 등)로 작업하기 위한 MQLAdoDB 프로젝트를 테스트 중입니다.

이 프로젝트도 곧 GitHub에서 사용할 수 있으며 물론 무료로 제공될 예정입니다.

많은 관심 부탁드립니다,

Eugene

 
 
MQLMySQL 라이브러리 버전 3.0이 출시되어 GitHub에 게시되었습니다 함수 집합
- MQL5 x64(구형) - 함수 집합
- MQL5 x64(클래스) - MQL5용 클래스

<삭제됨>


새해 복 많이 받으시고 개발에 행운을 빕니다!

유진

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...
 
MQLMySQL 라이브러리 버전 3.0이 출시되어 GitHub에 게시되었습니다(https://github.com/elugovoy/MQLMySQL-Project).

추가 수정 및 업데이트는 GitHub 리포지토리에 이루어질 예정입니다.

이제 UTF-8 코드 페이지가 지원됩니다.

프로젝트에는 3개의 카탈로그가 포함되어 있습니다:
- MQL4 x86 - 기능 집합
- MQL5 x64(구형) - 함수 집합
- MQL5 x64(클래스) - MQL5용 클래스.

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...