Skip to content

Commit

Permalink
change to mariadb
Browse files Browse the repository at this point in the history
  • Loading branch information
splattner committed Dec 18, 2024
1 parent bac381f commit bb97176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/05/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ We could also have filtered the output with grep: `docker inspect mariadb-contai
Once you have the IP (in your example `172.17.0.2`) connect to it:

```bash
mysql -h172.17.0.2 -uroot -pmy-secret-pw
mariadb -h172.17.0.2 -uroot -pmy-secret-pw
```
If everthings works, exit mysql-client

Expand Down Expand Up @@ -67,5 +67,5 @@ winpty mysql.exe -hlocalhost -uroot -pmy-secret-pw mariadb

{{% details title="🤔 Can you imagine another way to access the database?" %}}
Instead of entering the container with bash, we could also directly run mysql inside the container:
`docker exec -it mariadb-container mysql -uroot -pmy-secret-pw`
`docker exec -it mariadb-container mariadb -uroot -pmy-secret-pw`
{{% /details %}}
2 changes: 1 addition & 1 deletion content/en/docs/06/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ SELECT User FROM mysql.user;
+-------------+
7 rows in set (0.001 sec)
```
Now exit the mysql client
Now exit the mariadb client

```bash
exit;
Expand Down

0 comments on commit bb97176

Please sign in to comment.