diff options
Diffstat (limited to 'content/post/2008-08-08-customize-your-mysql-prompt.md')
| -rw-r--r-- | content/post/2008-08-08-customize-your-mysql-prompt.md | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/content/post/2008-08-08-customize-your-mysql-prompt.md b/content/post/2008-08-08-customize-your-mysql-prompt.md deleted file mode 100644 index 801a7fe..0000000 --- a/content/post/2008-08-08-customize-your-mysql-prompt.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -date: 2008-08-08T00:00:00Z -summary: In which we customize our MySQL prompt -title: Customize your MySQL prompt ---- - -To customize your MySQL prompt, create a .my.cnf file in your $HOME then add the following: - -```sh -[mysql] -prompt="\\u [\\d] >" -``` - -Your prompt will now looks like this: `username [dabatases_name] >` |
