连接客户端时通过参数指定
mysql -uroot -p密码 --prompt=提示符 mysql -h 192.168.234.128 -u root -p --prompt="u@h d>"
连接上客户端后,通过prompt命令修改 例如:
prompt u@h d> 当前用户@服务器名称 当前数据库>