From 0afbfaee75e8480e8e0ed0a3bbd3749a4756f727 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Fri, 10 Sep 2010 23:25:10 +0200 Subject: initial import --- _posts/2008-08-08-customize-your-mysql-prompt.textile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 _posts/2008-08-08-customize-your-mysql-prompt.textile (limited to '_posts/2008-08-08-customize-your-mysql-prompt.textile') diff --git a/_posts/2008-08-08-customize-your-mysql-prompt.textile b/_posts/2008-08-08-customize-your-mysql-prompt.textile new file mode 100644 index 0000000..bf21d9e --- /dev/null +++ b/_posts/2008-08-08-customize-your-mysql-prompt.textile @@ -0,0 +1,14 @@ +--- +layout: post +category: app +title: Customize your mysql prompt +--- + +To customize your mysql prompt, create a .my.cnf file in your $HOME then add the following: + +bc. [mysql] +prompt="\\u [\\d] >" + +It will look like this: + +bc. username [dabatases_name] > -- cgit v1.2.3