Need assist on store data from sensor to mysql/maria db

Hi All,

I’m new here. This is my first time using raspberry pi and does python programming.

Here my setup:

  1. Raspberry Pi 4
  2. Temperature & humidity sensor
  3. LCD Panel 16x2
  4. Grove Base Hat

So far, I able to get value from the sensor and display on LCD. Thanks for the wiki seeed.

I plan to store the value inside the database.

I try to google around but unable to find the easy way.

If any topic posted before, hope you guys can share it to me. TQ.

maybe too late …
here is a good tutorial :