mirror of
https://github.com/danbulant/mysqlExporterDeno
synced 2026-05-19 04:08:50 +00:00
Add readme about setting up and running mysql exporter
This commit is contained in:
parent
5bd601cd56
commit
f2724f37ad
1 changed files with 29 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# MySQL exporter
|
||||
|
||||
MySQL exporter is a simple tool for generating data dictionaries from database.
|
||||
|
||||
## Configuring
|
||||
|
||||
The exporter uses simple config.json, **in the current workind directory**. Just create config.json and use the following format:
|
||||
|
||||
```json
|
||||
{
|
||||
"mysql": {
|
||||
"host": "localhost",
|
||||
"user": "root",
|
||||
"password": "",
|
||||
"database": "mysql"
|
||||
},
|
||||
"fields_ignored": []
|
||||
}
|
||||
```
|
||||
|
||||
Fields ignored is an array of fields which shouldn't be in the report. It's case insensitive.
|
||||
|
||||
## Running
|
||||
|
||||
If you have [node](http://nodejs.org) and [git](https://git-scm.com/) installed on your system, simply create the config and run `npx github:danbulant/mysqlExporter`.
|
||||
|
||||
## Saving and sharing reports
|
||||
|
||||
On the newly opened page (opened by running), press `ctrl+s` and save the HTML file. That file is fully self-contained, even for offline use, so you can share the report with others.
|
||||
Loading…
Reference in a new issue