-- prompt.txt

$ mysql --prompt='\p@\h> ' -u root mysql

mysql.sock@localhost> prompt \u(\R:\m)@\d> 

root(18:31)@mysql> 