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