Browse Source

Run update.sh

Docker Library Bot 9 years ago
parent
commit
7aac41d736
1 changed files with 6 additions and 0 deletions
  1. 6 0
      mysql/README.md

+ 6 - 0
mysql/README.md

@@ -46,6 +46,12 @@ $ docker run -it --link some-mysql:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_
 
 
 ... where `some-mysql` is the name of your original mysql container.
 ... where `some-mysql` is the name of your original mysql container.
 
 
+This image can also be used as a client for non-Docker or remote MySQL instances:
+
+```console
+$ docker run -it --rm mysql mysql -hsome.mysql.host -usome-mysql-user -p
+```
+
 More information about the MySQL command line client can be found in the [MySQL documentation](http://dev.mysql.com/doc/en/mysql.html)
 More information about the MySQL command line client can be found in the [MySQL documentation](http://dev.mysql.com/doc/en/mysql.html)
 
 
 ## Container shell access and viewing MySQL logs
 ## Container shell access and viewing MySQL logs