Discussion of article "How to Access the MySQL Database from MQL5 (MQL4)" - page 16

 
Freemans Core:
Hello I have a question (Please forgive me because I am Japanese because it is a bad sentence for English translation) Selecting multi-byte characters in Does this program support multibyte characters?


Not yet, I'm working on next release with support of multi-byte charachters

At the moment - no. I'm working on next release with support of multi-byte characters

 

2017.04.21 14:17:26.454 FXDATA_MYSQL2_1M AUDUSD,M1: Cursor opening failed. Error: Maximum number of opened cursors was exceeded.

What is this Error!

 
Guangdong Jin:

2017.04.21 14:17:26.454 FXDATA_MYSQL2_1M AUDUSD,M1: Cursor opening failed. Error: Maximum number of opened cursors was exceeded.

What is this Error!


This means that the number of concurrently opened cursors reaches limit (256 cursors)

This means that the number of concurrently opened cursors reaches limit (256 cursors) possible you have not closed cursor after selecting data.

 
Excellent work, Евгений, I have couple of EAs, which use your MySQL connector library, some of them are for MT4, some for MT5 (I had hard time to rewrite the code from MQL4 to MQL5, but now everything works perfectly).
The MySQL server is very busy, EAs selects and inserts couple of thousands of records each day (mostly prices and orders data) - I have not restarted trading terminals or the MySQL server for more than 2 weeks - no noticeable performance degradation or memory leaks, they work suspiciously stable.
Keep the good job!
 

I have noticed that having query string longer than 32kB crashes the terminal.
Is it possible to increase the length of executed query string, in my project I have to build dynamic query string with lots of UNION ALL?

I am not sure how can I fix this: MySqlCursorOpen(DB,sql_query);

 

It's very good!

Please support Chinese.

E-MAIL: 5145495@qq.com

 
Eugeniy Lugovoy:
For x64 platforms, use the following library (with discussion)

thank you very much!

It's very good.

 
Budyoni Damyanov:

I have noticed that having query string longer than 32kB crashes the terminal.
Is it possible to increase the length of executed query string, in my project I have to build dynamic query string with lots of UNION ALL?

I am not sure how can I fix this: MySqlCursorOpen(DB,sql_query);


Hi, i wonder, can you help me with error libmysql.dll cannot loaded or something.
Why I get this message? although I already put the dll file to MQL4/Libraries/libmysql.dll.

What is the cause? because what i can see is the file is imported, and nothing else but it cannot loaded, even i already checked the checkbox. Can you help me with this problem? Because I can't found it why it happened.


FYI: I'm using Windows 10 x64 and Metatrader4 from Exness.

Thank you.

 
Budyoni DamyanovBudyoni Damyanov : :
ทำงานที่ยอดเยี่ยมฉันมีสอง EAs ใช้ MySQL ของคุณเชื่อมต่อบางส่วนของเขาสำหรับ MT4 บาง MT5 (ฉันมีเวลาที่ยากที่จะเขียนรหัสจาก MQL4 เพื่อ MQL5 แต่ตอนนี้ทุกอย่างทำงานได้อย่าง สมบูรณ์) ทำงานที่ยอดเยี่ยมฉันมีสอง EAs ซึ่งใช้ MySQL ของคุณเชื่อมต่อห้องสมุดบางส่วนของพวกเขาสำหรับ MT4 บาง MT5 (ฉันมีเวลาที่ยากที่จะเขียนรหัสจาก MQL4 เพื่อ MQL5 แต่ตอนนี้ทุกอย่างทำงานได้อย่างสมบูรณ์)
(ส่วนใหญ่เป็นราคาและข้อมูลใบสั่งซื้อ) - ฉันยังไม่ได้รีสตาร์ทเครื่องเท อร์มินัลการค้าหรือเซิร์ฟเวอร์ MySQL มานานกว่า 2 สัปดาห์ - ไม่มีการลดระดับประสิทธิภาพที่เห็นได้ ชัดหรือกา รั่วไหลของหน่วยความจำ, เขาทำงานพวกมีเสถียรภาพที่น่าสงสัย(ส่วนใหญ่เป็นราคาและข้อมูลใบสั่งซื้อ) - ฉันยังไม่ได้รีสตาร์ทเครื่องเทอร์มินัลการค้าหรือเซิร์ฟเวอร์ MySQL มานานกว่า 2 สัปดาห์ - ไม่มีการลดระดับประสิทธิภาพที่เห็นได้ชัดหรือการรั่วไหลของหน่วยความจำ, พวกเขาทำงานมีเสถียรภาพที่น่าสงสัย
เก็บงานที่ดี!เก็บงานที่ดี!
 

Hi, why I got this message? how to fix it? 

Connection failed! Error: Can't connect to MySQL server on 'mysql.hostinger.co.id' (10061) <~~~ before it was 10060, i don't know why it's changing to that one

Can someone help me to solve it? I already tried googled it but I hit a wall.

Thank you