Linux
  • Linux
  • Bash
  • Debian
  • Ubuntu
  • Shell
  • CentOS
  • SSH
☰

How do I display a newline in a mysql prompt?

tag-icon 2024-7-5 • tag-icon command-line mysql prompt
How do I display a newline in a mysql prompt?

I'm trying to make my mysql prompt look like this:

root@localhost:3306 database
$ [mysql commands…]

How might I place the dollar sign on a newline? Here's my current prompt configuration, in which the '\n' seems to be broken:

prompt = '\u@\h:\p\s\d\n$\s'
THE END
How can I *quickly* cycle the a Wifi Network Adapter in Windows 8 How can I *quickly* cycle the a Wifi Network Adapter in Windows 8
Inputting UTF-8 characters into the Bash CLI Inputting UTF-8 characters into the Bash CLI

verwandte Informationen

Beliebte Fragen und Antworten

Beliebte Schlagwörter

  • command-line
  • mysql
  • prompt
  • windows-8
  • wireless-networking
  • network-adapter
  • linux
  • bash

© 2024 rvso.com Alle Rechte vorbehalten. Seitenverzeichnis