[MDEV-13929] mysqldump, mysql_upgrade don't recognize variable "prompt" Created: 2017-09-28  Updated: 2017-09-30  Resolved: 2017-09-28

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.2.9
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Michael Xu Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

CentOS 7.x



 Description   

mysql_upgrade: unknown variable 'prompt=MariaDB [\U] [\d]>'
mysqldump: unknown variable 'prompt=MariaDB [\U] [\d]>'



 Comments   
Comment by Sergei Golubchik [ 2017-09-28 ]

Of course. Unlike mysql command line client, mysql_upgrade and mysqldump don't work interactively and don't have any "prompt".

You want to put you prompt settings into the [mysql] section of my.cnf, not into [client] section.

Comment by Michael Xu [ 2017-09-30 ]

Got it, thanks.

Generated at Thu Feb 08 08:09:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.