#mysql #query #tool #mariadb

bin+lib gold_digger

A simple MySQL/MariaDB query tool that accepts parameters as environmental variables

2 unstable releases

0.2.0 Feb 19, 2023
0.1.2 Dec 11, 2022

#642 in Database interfaces

30 downloads per month

MIT license

22KB
137 lines

Gold Digger

A simple MySQL/MariaDB query tool that accepts parameters as environmental variables.

GitHub GitHub issues GitHub Repo stars GitHub last commit Maintenance

Installation

Build and install using cargo

git clone git@github.com:unclesp1d3r/gold_digger.git
cd gold_digger
cargo install

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

OUTPUT_FILE This is the path to a text file that will contain the output of the query. The extension of the file will determine the format (csv, txt, or json)

DATABASE_URL The connection url for accessing the database. This is formatted in the typical MySQL/MariDB format (protocol//[hosts][/database][?properties])

DATABASE_QUERY The SQL query string to be used to query the database server.

Authors

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.md.

Feedback

If you have any feedback, please reach out to us at unclespider@protonmail.com

Dependencies

~12–22MB
~460K SLoC