We want to connect MySQL by wifi. There is a wifi library in Arduino file, I also found a MySQL library which based on the wifi library from github.com, but my leader only gave me a Mega 2560 without wifi compenent. In my opinion, even though I connect our wifi compenent (ESP8266) to serial of Mega 2560, I only can write data to serial, rather than use Arduino wifi libarary and that MySQL library directely.
Can I update my Mega 2560 to use Arduino wifi libarary?
if not, is there the Arduino libarary for ESP8266 or other wifi compenent which I can buy?
(Write whole code without any library is a little hard for me , a new user,haha)