MySQL Administration and Routine Database Operations
Configuring the CLI Prompt
To temporarily modify the MySQL prompt during a session, execute the prompt command:
mysql> prompt \u@mycluster \r:\m:\s->
For a persistent configuration, append the prompt directive under the [mysql] section in the my.cnf configuration file:
[mysql]
prompt=\u@mycluster \r:\m:\s->
Establishing Database Connec ...
Posted on Fri, 08 May 2026 18:45:15 +0000 by reeferd