File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ The new document store features of MySQL are implemented as a plugin to MySQL Se
12
12
13
13
Invoke the shell as follows:
14
14
15
- docker run -it -e MYSQL_HOST=mysqlhostname mysql-shell init
15
+ docker run -it -e MYSQL_HOST=<hostname> mysql-shell init
16
16
17
17
You will be asked to enter the password for the server's root user. You should see a message that the mysqlx plugin has been installed.
18
18
19
19
# Connecting to mysqlx-enabled server
20
20
21
21
To connect to the server, simply run the mysql-shell image the same way you would start a normal MySQL client:
22
22
23
- docker run -it mysql-shell -u <username> -h mysqlhostname
23
+ docker run -it mysql-shell -u <username> -h <hostname>
24
24
25
25
Once logged in, if you run ` \status ` , the shell should respond with ` Session type: X ` .
26
26
Original file line number Diff line number Diff line change 1
1
FROM oraclelinux:latest
2
2
3
- RUN yum install -y wget
4
- RUN wget http://repo.mysql.com/yum/mysql-tools-preview/el/7/x86_64/mysql-shell-1.0.3-1.el7.x86_64.rpm
5
- RUN yum install -y mysql-shell-1.0.3-1.el7.x86_64.rpm
3
+ RUN yum install -y wget \
4
+ && wget http://repo.mysql.com/yum/mysql-tools-preview/el/7/x86_64/mysql-shell-1.0.3-1.el7.x86_64.rpm \
5
+ && yum install -y mysql-shell-1.0.3-1.el7.x86_64.rpm \
6
+ && rm -rf /var/cache/yum/*
6
7
7
8
COPY docker-entrypoint.sh /entrypoint.sh
8
9
ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments