summaryrefslogtreecommitdiff
path: root/posts/2008-08-08-customize-your-mysql-prompt.org
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-08-04 11:12:37 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-08-04 11:12:37 -0700
commit2d2a43f200b88627253f2906fbae87cef7c1e8ce (patch)
treec65377350d12bd1e62e0bdd58458c1044541c27b /posts/2008-08-08-customize-your-mysql-prompt.org
parentUse Bullet list for the index. (diff)
downloadlumberjaph-2d2a43f200b88627253f2906fbae87cef7c1e8ce.tar.gz
Mass convert all posts from markdown to org.
Diffstat (limited to '')
-rw-r--r--posts/2008-08-08-customize-your-mysql-prompt.org9
1 files changed, 9 insertions, 0 deletions
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] >=