Skip to content

Commit

Permalink
➕ add database import by specifying host
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Jan 28, 2022
1 parent e22030b commit 6b86dc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sheets/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Run database import file on server (corresponding to the phpMyAdmin importer)

```bash
mysql -u database_user -p database_name < file.sql
mysql -u database_user -p -h database_host database_name < file.sql # if it's not localhost
```

Create database export file
Expand Down

0 comments on commit 6b86dc3

Please sign in to comment.