File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 1- # MySQL to SQLite3 (Docker)
1+ # MySQL to SQLite3 (Docker + Github action )
22
33Implements [ MySQL to SQLite3] [ link-sql ] as a docker utility
44
5- ## How to use
5+ ## How to use as docker
66
77```
8- docker run --rm -v ${PWD}:/output benrowe/mysql-to-sqlite3 mysql2sqlite -f /output/export.sqlite3 -d database_name -u username -h host.docker.internal -p password
8+ docker run --rm -v ${PWD}:/output benrowe/mysql-to-sqlite3 database_name username host.docker.internal password path/to/file
9+ ```
10+
11+ ## How to use as github action
12+
13+ The github action runs this command inside the docker file, so the host will need to point to the host machien
14+
15+ ```
16+ - name: Convert to SQLite
17+ uses: benrowe/mysql-to-sqlite3-docker@v1
18+ with:
19+ output: /path/to/file
20+ database: database
21+ host: localhost
22+ username: root
23+ password: password
924```
1025
1126[ link-sql ] :https://github.com/techouse/mysql-to-sqlite3
You can’t perform that action at this time.
0 commit comments