title: MT4 - Mysql connection via PHP
body: <p>I need to get/send data from MT4 from/to Mysql database. I used "libmysql.dll" or mysql_wrapper (also based on libmysql.dll), but it seems not stable.</p>
  
  <p>I think may be i can use PHP as server (creating TCP/IP socket at a specified port) and MT4 EA/script as client.
  Or maybe using Apache as server (creating PHP scripts to do the job for Mysql connection) and MT4 EA/scrip as client.</p>
  
  <p>So, PHP is a bridge between MT4 &amp; Mysql. PHP get request from MT4, connect to Mysql (and do calculation if needed), then send the result back to MT4.
  Could you please give me a clue how to do it in Windows XP (I have Apache, PHP, Mysql installed on my Windows XP) ?</p>
  
  <p>Thanks
  jack</p>