You haven't included the database library!
Follow the example from here: https://www.mql5.com/en/articles/932

- www.mql5.com
Hi, I don't understand why I have errors when compiling.. someone can help me please? In the documentation there's anything that can help me..
I attach the screenshot.
#include <MQLMySQL.mqh>
You haven't included the database library!
Follow the example from here: https://www.mql5.com/en/articles/932

- www.mql5.com
What MT5 build are you using ?
Insert:
I want to use SQLite like in the Documentation at this link: https://www.mql5.com/en/docs/database but I think that the author forgot a step because it doesn't work.
I need to use SQLite, so the link is useless because it talks about MySQL that is a different thing and I don't need it.

- www.mql5.com
Anyway you have to include the library (you want/need) firstly as tommy73 has shown!
Then see whether your library compiles or not!
BTW to say I need this means probably that you have to code it yourself - or you accept the (ready made) solutions provided by MQ or some users!
Please guys I ask for a solution, not for answer that doesn't help, please.
I'm not a beginner (I'm a programmer with many years of experience, but I start programming MQL recentrly) and I already thought that I need to include something. So my problem is what?
I'm not able to find anything usefull in the
Documentetaion at this link: https://www.mql5.com/en/docs/database so If someone can help me with usefull information I really appreciate
it, thank you!

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, I don't understand why I have errors when compiling.. someone can help me please? In the documentation there's anything that can help me..
I attach the screenshot.