Skip to content

Commit

Permalink
Merge pull request #622 from acend/mariadb
Browse files Browse the repository at this point in the history
Fix mariadb commands
  • Loading branch information
sybnex authored Sep 18, 2024
2 parents 99b3350 + fe53815 commit e3c87d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/attaching-a-database/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ oc rsh --namespace <namespace> <podname>
This command shows how to drop the whole database:
```bash
mariadb -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MARIADB_SERVICE_HOST $MYSQL_DATABASE
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MARIADB_SERVICE_HOST $MYSQL_DATABASE
```
```bash
Expand All @@ -590,7 +590,7 @@ exit
Import a dump:
```bash
mariadb -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MARIADB_SERVICE_HOST $MYSQL_DATABASE < /tmp/dump.sql
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MARIADB_SERVICE_HOST $MYSQL_DATABASE < /tmp/dump.sql
```
Check your app to see the imported "Hellos".
Expand Down

0 comments on commit e3c87d7

Please sign in to comment.