命令:

mysql -uroot -p --prompt="\\u@\\h:\\d \\r:\\m:\\s>"

 

 

效果:

root@localhost:(mysql) 02:29:45>

 

相关文章: