SOLUTION FOUND
https://www.mql5.com/en/forum/33994/page2

Access violation libmysql.dll
- 2018.05.02
- www.mql5.com
Hello all: Ive been using mysql for working with my EAs for some time now, I used mainly this EAX Library https://www.mql5...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
For at least 2 years now i have had the same problem in trying to connect to a MySQL database through MQL5 using 64bit architecture (https://www.mql5.com/en/forum/71114)
32bit was fine, but i have just rebuilt my PC and would really like to use 64bit if it is at all possible.
My setup:
The initialization works fine and returns a non-null value, however the mysql_real_connect() function returns an error of "Access violation at 0x00007FF859046E72 read to 0x0000000031DEF670 in "
Has anyone been able to get around this problem? I'd be keen to hear if anyone has ever been able to connect to MySQL using 64bit, from searching the forums it seems that most projects are written in 32bit and a lot of people have found the same or similar issues with connecting through 64bit.