Open robertsilen opened 3 months ago
Made PR https://github.com/vulsio/goval-dictionary/pull/414 now, hope it is ok?
MariaDB is already supported. Set DBType to MySQL and write DBPath and it will work fine.
$ docker run --rm --name mariadb -d -e MARIADB_ROOT_PASSWORD=password -e MARIADB_DATABASE=test -p 3306:3306 mariadb
$ goval-dictionary fetch ubuntu 24.04 --dbtype mysql --dbpath "root:password@tcp(127.0.0.1:3306)/test?parseTime=true"
MariaDB is already supported. Set DBType to MySQL and write DBPath and it will work fine.
$ docker run --rm --name mariadb -d -e MARIADB_ROOT_PASSWORD=password -e MARIADB_DATABASE=test -p 3306:3306 mariadb $ goval-dictionary fetch ubuntu 24.04 --dbtype mysql --dbpath "root:password@tcp(127.0.0.1:3306)/test?parseTime=true"
Awesome, thank you @MaineK00n . So it should be fine to add a mention of MariaDB to the README as per https://github.com/vulsio/goval-dictionary/pull/414 ? :)
Any particular reason MariaDB is not mentioned as supported database in the README? Would it be ok to add it with a PR?
This is part of my efforts I describe in my blog Improving MariaDB Support in Open Source Projects.