aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql/my.cnf3
-rw-r--r--psql/psqlrc2
2 files changed, 3 insertions, 2 deletions
diff --git a/mysql/my.cnf b/mysql/my.cnf
index 1c55c791..be035865 100644
--- a/mysql/my.cnf
+++ b/mysql/my.cnf
@@ -1,3 +1,4 @@
[mysql]
-prompt='(\u@\h)\n[\d] mysql> '
+prompt='(\u@\h:\d) mysql> '
+safe-updates
diff --git a/psql/psqlrc b/psql/psqlrc
index e3f4434b..d58e73e9 100644
--- a/psql/psqlrc
+++ b/psql/psqlrc
@@ -1,6 +1,6 @@
\encoding unicode
\pset null 'NULL'
\set HISTSIZE 1000000
-\set PROMPT1 '(%n@%M:%>)\n[%/] psql> '
+\set PROMPT1 '(%n@%M:%>:%/) psql> '
\timing