Question

How do I save mqtt data into mysql server deployed on the same droplets? (Ie: same IP address). Is this possible?

Will be connecting to express.js/Node.js & Esp8266 (Wemos D1 R2 on Arduino IDE)

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You should be able to record this data from the same IP address. This library will help with the MQTT protocol.

Since mqtt and MySQL use different ports, using the local mqtt service should not be any different from connections with a remote device.