0

I was testing commands like "status" for mysql, then I suddenly entered this mode I don't recognize. Can not do anything from here. Whatever I entered, it's just roll into next line.enter image description here

Shadow
  • 33,525
  • 10
  • 51
  • 64
Lioncake
  • 9
  • 2
  • You can enter `\c` as stated in the output above the input prompt to clear the current input. – Progman Aug 25 '21 at 18:09
  • The `[` at the start of the line indicates that you used a `[` in a command. That command should be closed, which can be done with a `;` . After this `\h` gives help, or `\q` quits. – Luuk Aug 25 '21 at 18:14

2 Answers2

1

use exit or quit and also \qto leave the mysql shell

see manual

To get to the next command you can use ; semicolon like you end all sql comands

nbk
  • 45,398
  • 8
  • 30
  • 47
1

You need to complete each command with a semicolon. So just type a semicolon and return and your command will be executed

Thallius
  • 2,482
  • 2
  • 18
  • 36