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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -