Skip to content

Commit e8074eb

Browse files
author
simplilearn-devops
authored
Updated instructions.
1 parent 612c30f commit e8074eb

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

lab-8.3/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,28 @@ Run the script to create a container with MySQL running and create the database.
3535

3636
You will need to monitor the logs to see when MySQL has completed creating
3737
the student database and is waiting for connections. This may take several minutes
38-
to complete.
39-
38+
to complete.
4039
`docker logs mysql`
4140

4241
When you see the following in the logs you may continue. Run the command until you see.
4342

4443
`mysqld: ready for connections.`
4544

45+
Find the IP address of the server.
46+
`docker inspect mysql`
47+
4648
### Step 4
4749

4850
Load data into the student database
4951

50-
Examine the script that will run the MySQL client. Notice that we are using the same image.
51-
52+
Examine the script that will run the MySQL client. Notice that we are using the same image.
5253
`cat runclient`
5354

54-
Run the MySQL client container
55-
55+
Run the MySQL client container.
5656
`./runclient`
5757

5858
You will be placed inside the client container running the Bash command shell.
59-
You can now type commands to use the database
60-
59+
You can now type commands to use the database. You may need to change the IP address to that of the server.
6160
`mysql -h 172.17.0.2 -u student -p monitoring`
6261

6362
You will be prompted for the password. Enter 'student' as the password

0 commit comments

Comments
 (0)