Skip to content
This repository was archived by the owner on Jun 27, 2022. It is now read-only.

Added support for MariaDB#2

Open
rowdynl wants to merge 1 commit into
dseifert:masterfrom
rowdynl:master
Open

Added support for MariaDB#2
rowdynl wants to merge 1 commit into
dseifert:masterfrom
rowdynl:master

Conversation

@rowdynl

@rowdynl rowdynl commented Oct 9, 2020

Copy link
Copy Markdown
  • Added the option to configure a port for the connection
  • Added a influxdb.yaml example
  • Edited the README
    • Changed the order of requirements (wheel is needed in the fors command too)
    • Added information about the influxdb example
    • Updated the tested versions example

- Added the option to configure a port for the connection
- Added a influxdb.yaml example
- Edited the README
  - Changed the order of requirements (wheel is needed in the fors command too)
  - Added information about the influxdb example
  - Updated the tested versions example
Comment thread homeassistant2influxdb.py
parser.add_argument('--database', '-d',
dest='database', action='store', required=True,
help='MySQL/MariaDB database')
dest='database', action='store', required=false, type=int, default=3306,

@dseifert dseifert Dec 28, 2020

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mixed up port and database here: required, int, 3306 and help text changes belong to the new lines 76/77 (for port)

@dseifert dseifert left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rowdynl. Thanks for your changes. Small mixup in the config param settings, otherwise looks good. If you could correct this, I'll accept the PR (sorry for the delay).

@dseifert

Copy link
Copy Markdown
Owner

Also, could you rename the PR / commit, please? Nothing in it is specific to MariaDB (both MariaDB and MySQL use the same port, and your other fixes are independent of MariaDB as well).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants