fison67 / mi_connector

Connector for Xiaomi Devices with Smartthings, Hubitat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improvement for DB Connections

ritaru opened this issue · comments

Hello,

I am a Backend Engineer based in South Korea.
The node application seems to connect to a hardcoded username and database when connecting to mariadb instance, leading to some problems when using single DBMS for multiple applications.

A simple tweak in the db/db-connector.js and routes/config.js and such would be nice, since using root account for end-user applications is a security hazard.

I appreciate for your hard work, and hope you have a pleasant day.

PS. If possible, I would be delighted to contribute to your docker image.