Can I change the mysql prompt with selected database as we do in hive? -


in hive can set prompt selected database. possible same in mysql?

i want replace mysql kundoor in image below.

enter image description here

type in terminal

export mysql_ps1="\u@\h [\d]> " 

this create following

user@host [databasename]> 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -