You haven't included the database library!
Follow the example from here: https://www.mql5.com/en/articles/932
![How to Access the MySQL Database from MQL5 (MQL4) How to Access the MySQL Database from MQL5 (MQL4)](https://c.mql5.com/36/31/how-to-access-the-mysql-database.jpg)
- 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
![Documentation on MQL5: Working with databases Documentation on MQL5: Working with databases](https://c.mql5.com/36/31/documentation-on-mql5-working-with.png)
- 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.
![Documentation on MQL5: Working with databases Documentation on MQL5: Working with databases](https://c.mql5.com/36/31/documentation-on-mql5-working-with__1.png)
- 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!
![Documentation on MQL5: Working with databases Documentation on MQL5: Working with databases](https://c.mql5.com/36/31/documentation-on-mql5-working-with__2.png)
- www.mql5.com
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- 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.