Re: How to modify the

From: Lew Pitcher <lew.pitcher_at_digitalfreehold.ca>
Date: Tue, 10 Sep 2019 08:38:51 -0400
Message-ID: <ql85gs$kbl$1_at_dont-email.me>


ZOT wrote:

> command prompt?
> I am using several database servers and it's a bit confusing having them
> all indicating:
> MariaDB [mysql]>
>
> Is there a way to modify the 'MariaDB' to something reflecting the
> machine it's running on?
> something like
> Server2 [mysql]
> ?
> Many thanks

Use the
  prompt
command, and see
  https://mariadb.com/kb/en/library/mysql-command-line-client/#prompt-command for the appropriate options

For example:
  MariaDB [mysql]> prompt \h:\t
  PROMPT set to '\h:\t'
  localhost:

-- 
Lew Pitcher
"In Skills, We Trust"
Received on Tue Sep 10 2019 - 14:38:51 CEST

Original text of this message