Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Won't work with MariaDB #274

Closed
idexter opened this issue Jan 13, 2021 · 2 comments
Closed

Won't work with MariaDB #274

idexter opened this issue Jan 13, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@idexter
Copy link

idexter commented Jan 13, 2021

What happened

Docs won't generate

What you expected to happed

Docs should be generated.

What stacktrace or error message from tbls did you see?

DEBUG=1 tbls doc
malformed version: 10.4.10-MariaDB-1:10.4.10+maria~bionic-log:
    github.com/aquasecurity/go-version/pkg/version.Parse
        /Users/k1low/go/pkg/mod/github.com/aquasecurity/go-version@v0.0.0-20201115065329-578079e4ab05/pkg/version/version.go:44

Anything else we need to know?

Looks like the reason is that that library (github.com/aquasecurity/go-version) has been updated.

Environment

  • tbls version: 1.47.0
  • Database version: MariaDB 10.4.10
  • OS: Ubuntu bionic
  • Shell: zsh
@idexter idexter added the bug Something isn't working label Jan 13, 2021
@k1LoW k1LoW self-assigned this Jan 14, 2021
@k1LoW k1LoW mentioned this issue Jan 16, 2021
@k1LoW
Copy link
Owner

k1LoW commented Jan 16, 2021

Hi @idexter, thank you for your report!!

Until now, tbls did not explicitly support MariaDB, but I will do so.
Please wait for the next release ( or use master branch ).

@k1LoW
Copy link
Owner

k1LoW commented Jan 16, 2021

Released as v1.48.0.

Use mariadb instead of mysql in the DSN scheme as follows

mariadb://dbuser:dbpass@hostname:3306/dbname

@k1LoW k1LoW closed this as completed Jan 16, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants