Connecting to mysql
-
I know that this topic was already but I did not understand everything. I need to send data from esp 32 esp to the mysql database, it's about reading from sensors. I see this https://www.youtube.com/watch?v=oSR2hr7v068&t=900s
but I don't understand anything about him
-
This post is deleted!
-
@radossslaw You can do this in many ways. Using a wifi connection would be the simplest way.
You need:
- create a socket server on a machine, that can also run the sql server
- the device needs to connect to the server using a socket client
- the device send a packet with the information
- the socket server reads the data and pushes it to the sql server.