个性化设置 MySQL prompt 提示符

摘要

下面谈 4 种方法 ㈠ 在 Bash 层修改 MYSQL_PS1 变量 [root@localhost ~]# export MYSQL_PS1="(\u@\h) [\d]> " [root@localhost ~]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g.…

欢迎在评论区写下你对这篇文章的看法。

评论

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.125.0. UTC+08:00, 2024-05-03 16:41
浙ICP备14020137号-1 $访客地图$