I have a hard time trying to connect the Arduino to MySQL server. Below are the details of the hardware / software used:
Cytron ESPWiFi Shield
MySQL (Hosted on local host)
Please find the attached Arduino sketch which was modified from the example “connect_wifi” taken from the MySQL Connector Arduino library. The sketch was modified in order for the Cytron wifi shield to be able to operate because Cytron wifi shield do not work with <Wifi.h> from Arduino.
The screenshot attached shows that the Arduino succesfully connected to the wifi but couldn’t connect to the MySQL database.
Hope that someone would be able to help me.
Thank you very much.
test131016.ino (2.67 KB)