Search found 1 match
- Mon Feb 10, 2020 1:16 pm
- Forum: ESP32 Arduino
- Topic: ESP32 connect to mysql database
- Replies: 7
- Views: 30385
Re: ESP32 connect to mysql database
I found a solution that worked in my case. I use the following code #include <MySQL_Connection.h> #include <MySQL_Cursor.h> #include <WiFi.h> const char* ssid = "your wifi name"; const char* password = "your wifi password"; char user[] = "root"; // MySQL user login username char passwordSQL[] = ""; ...