mqtt2sql
mqtt2sql copied to clipboard
mysql is no valid sql-type
mqtt2sql.py: error: argument --sql-type: invalid choice: 'mysql' (choose from sqlite)
If I change it to sqlite, there's no error. But nothing is written either.
For MySQL, you need the Python MySQL client. If you install it as specified (python -m pip install -r requirements.txt), sql-type mysql becomes a valid option.
For sqlite an no data: Pls share your complete parameter list you tried
Thanks for your fast answer! You are right! 👍🏻