Public | Automated Build

Last pushed: 8 months ago
Short Description
Size: 36 MB, alpine:3.5, Mysql client: 10.1.21
Full Description

mysql-client

This is docker image to run a MySQL client.

Image size: 36 MB

From image: alpine:3.5

Mysql client: 10.1.21-r0

Usage

You make container with MySQL server.

Mysql console

$ docker run --rm \
    mysql-client \
    mysql --host=example.com --user=root --password=123321 --database=test --execute='show tables;'
$ docker run -it -v /path/to/dumps:/data \
    --link mysqlsrv:mysqlsrv \
    imega/mysql-client \
    mysql --host=example.com --user=root --password=123321 --database=mydb --execute='show tables;'

If the connection cannot be established, wait and retry instead of aborting.

$ docker run --rm \
    --link mysqlsrv:mysqlsrv \
    imega/mysql-client \
    mysqladmin --silent --host=mysqlsrv --wait=5 ping

Alpine Packages

  • musl (1.1.15-r6)
  • busybox (1.25.1-r0)
  • mariadb-common (10.1.21-r0)
  • libressl2.4-libcrypto (2.4.4-r0)
  • ncurses-terminfo-base (6.0-r7)
  • ncurses-terminfo (6.0-r7)
  • ncurses-libs (6.0-r7)
  • libressl2.4-libssl (2.4.4-r0)
  • zlib (1.2.8-r2)
  • mariadb-client (10.1.21-r0)
  • mysql-client (10.1.21-r0)

The MIT License (MIT)

Copyright © 2016 iMega info@imega.ru

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Docker Pull Command
Owner
imega
Source Repository

Comments (1)
rot26
2 years ago

Thanks! Quick and easy to use for development :)