Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.6.10
-
FreeBSD 12.3-RELEASE-p7 amd64 GENERIC
MariaDB 10.6.10
Description
We upgraded some of our machines from 10.3 to 10.6 and noticed that mysql client / mariadb client command prompt looks different in 10.6 because it does not accept newline character \n
\n is documented in https://mariadb.com/kb/en/mysql-command-line-client/
In 10.3 we had
[mysql]
|
prompt = \u @ \h [\d]:\nmysql>\_
|
The prompt looks like this:
root @ localhost [(mydatabase)]:
|
mysql>
|
With the same settings in MariaDB 10.6 the prompt looks like this:
root @ localhost [(mydatabase)]:mysql>
|
The prompt is not wrapped to 2 lines.
I also tried to define it in section [mariadb-client] but nothing changed.
This is clearly a regression from the older versions.