Custom PS1 via MySQL configuration file

suggest change

In mysqld.cnf or equivalent:

[mysql]
prompt = '\u@\h [\d]> '

This has a similar effect without using .bashrc. The setting belongs in the [mysql] client section, not [mysqld].

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents