You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2017-04-03-The-alias-way-to-backup-mysql-database-from-command-line.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ tags: [mysql, bash, linux]
10
10
---
11
11
12
12
As I have told you [before](http://www.codingpedia.org/ama/a-developers-guide-to-using-aliases/), I am really hooked on bash aliases[^2].
13
-
This blog emphasizes this point and shows how to make a MySql database backup via `mysqldump` with only three words, even with three letters, if you may like.
13
+
This blog entry emphasizes that point and presents how to make a MySql database backup via `mysqldump` with only three words, even with three letters, if you will.
or, same result with three letters, if you'd like:
26
+
or, same with three letters:
27
27
28
28
```
29
29
@@ -35,7 +35,7 @@ $ mbd
35
35
36
36
The option `-u`, will ask you for the password. The port number is not mandatory (as it defaults to **3306**), but if you are using other port, you need to specify it.
37
37
38
-
> I personally prefer the longer alias-approach, as the name is more clear,**there is auto complete**. Besides that I can always `alias-grep` it[^1] - (`alias alias-grep='alias | grep'`),
38
+
> I personally prefer the whole name approach, as then it is more clear to me. I can start typing `mysql-` and then**there is auto complete**. Besides that I can always `alias-grep` it[^1] - (`alias alias-grep='alias | grep'`),
39
39
if I need to see how it looks like - using the alias in this case as sort of documentation...
40
40
41
41
Below there is a concrete example, where I backup the MySQL keycloak database:
0 commit comments