Skip to content

Commit

Permalink
Add REAMDE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arey committed May 15, 2015
1 parent 8a40709 commit e7e3cdb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# mysql-client

Docker image with a MySQL client.
This Docker image is based on Alpine Linux .
Virtual size : 30.91 MB
From image: gliderlabs/alpine:3.1
Mysql client: 5.5.43-r1

## Usage

Execute SQL statements from an input SQL file:

```
$ docker run -v <path to sql>:/sql --link <mysql server container name>:mysql -it arey/mysql-client -h mysql -p <password> -D <database name> -e "source /sql/<your sql file>"
```

0 comments on commit e7e3cdb

Please sign in to comment.