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

Added support for MariaDB #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rowdynl
Copy link

@rowdynl rowdynl commented Oct 9, 2020

  • 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
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,
Copy link
Owner

@dseifert dseifert Dec 28, 2020

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)

Copy link
Owner

@dseifert dseifert left a comment

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
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