[root@centos7 ~]#cd /etc/my.cnf.d
[root@centos7 my.cnf.d]#pwd
/etc/my.cnf.d
[root@centos7 my.cnf.d]#vim mysql.cnf
[root@centos7 my.cnf.d]#cat mysql.cnf
[mysql]
prompt=(\\u@\\h) [\\d]>\\_
(root@localhost) [(none)]> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
(root@localhost) [mysql]> #切换数据库后效果
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交