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

April 16, 2018 701 views
MySQL Ubuntu

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

1 Answer

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.

Have another answer? Share your knowledge.