Open JoeyUson opened 2 years ago
Hi, Hope you had found the problem since 2022. But if not, and that maybe will help others, i encountered the same issue on an ESP8266, that was due because i put 2 single cotes around the table name to test. To be honest between Oracle, and the real developer of MySQL it's a bit the circus sometime... And the worst that it be even more complicated with each update. I think maybe it's that, but not sure because it was with another library dedicated to MariaDB. With that, before i had have the error code 204 with 2 single quotes around the database name, hem. And of course i never found any error code under 1000 for MySQL or MariaDB on the Web, too funny, or stupid who knows ? Anyways, this other library ever didn't work to connect :/
Exception is maybe due to the ESP, not from library, the problem with the ESP8266 it's that the µC must have enough time to manage the WiFi, otherwise the watchdog reset the card.
Have fun, welcome to Filipinos ;)
I used the provided demo and just few alteration and run. below are my code
and here the output in my serial monitor
Its printing the correct output but why the error are keep on coming.
Also if using PROGMEM with changes below
char PROGMEM query[] = "SELECT message FROM arduino.arduino WHERE counter < 10"; cur_mem->execute(query, true);
Hoping for anybody's reply