ChuckBell / MySQL_Connector_Arduino

Database connector library for using MySQL with your Arduino projects.
332 stars 133 forks source link

How to close mysql connection without closing wificlient? #67

Closed Bolukan closed 5 years ago

Bolukan commented 5 years ago

https://github.com/ChuckBell/MySQL_Connector_Arduino/blob/b49ee3ca46a1de6dec537a730d2236dcb78e58be/src/MySQL_Connection.cpp#L107

Charles,

Thank you for this library. I use this library with a wificlient (esp8266), and try to understand whether closing the connection to the mysql server also closes the wifi connection? I would like to be able to close the connection to the mysql server without closing the wifi connection. How is this possible?

Bolukan commented 5 years ago

.stop is not closing the wifi connection itself https://github.com/esp8266/Arduino/blob/42c977bd4d14281e46ff5d01f8f860dd0c195a08/libraries/ESP8266WiFi/src/WiFiClient.cpp#L324