[MacPorts] #64006: mysql* lacks editline or readline support

MacPorts noreply at macports.org
Fri Nov 19 12:52:10 UTC 2021


#64006: mysql* lacks editline or readline support
----------------------------+-------------------------------------
  Reporter:  laggardkernel  |      Owner:  herbygillot
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.1
Resolution:                 |   Keywords:  mysql editline readline
      Port:  mysql8         |
----------------------------+-------------------------------------

Comment (by laggardkernel):

 BTW, the newline `\n` in the prompt of `mysql` doesn't work either.

 {{{
 # ~/.my.cnf
 [client]
 default-character-set = utf8mb4

 [mysql]
 prompt='\nmysql \U:\d\n> '
 default-character-set = utf8mb4
 auto-rehash
 }}}

 It should be displayed like following

 {{{
 mysql root at localhost:(none)
 >
 }}}

 Not sure if line editor takes charge of the prompt.

-- 
Ticket URL: <https://trac.macports.org/ticket/64006#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list