From 2d2a43f200b88627253f2906fbae87cef7c1e8ce Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 4 Aug 2016 11:12:37 -0700 Subject: Mass convert all posts from markdown to org. --- posts/2008-08-08-customize-your-mysql-prompt.org | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 posts/2008-08-08-customize-your-mysql-prompt.org (limited to 'posts/2008-08-08-customize-your-mysql-prompt.org') diff --git a/posts/2008-08-08-customize-your-mysql-prompt.org b/posts/2008-08-08-customize-your-mysql-prompt.org new file mode 100644 index 0000000..8dd7d74 --- /dev/null +++ b/posts/2008-08-08-customize-your-mysql-prompt.org @@ -0,0 +1,9 @@ +To customize your MySQL prompt, create a .my.cnf file in your $HOME then +add the following: + +#+BEGIN_SRC sh + [mysql] + prompt="\\u [\\d] >" +#+END_SRC + +Your prompt will now looks like this: =username [dabatases_name] >= -- cgit v1.2.3