Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change to mariadb #416

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading