Home  >  Q&A  >  body text

MySQL 在cmd 命令变成 mysql> 后怎么变回去?

就是打开cmd的时候是:

C:\Windows\System32>

我输入mysql -h localhost -u root -p之后,变成了:

mysql>

请问怎么变回 C:WindowsSystem32>?

我现在都是关了cmd 重新 开,但是感觉好傻..

伊谢尔伦伊谢尔伦2742 days ago628

reply all(5)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 14:41:37

    quit: Normal exit

    Ctrl + C: Force close the current program == alt+F4

    of the window program

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 14:41:37

    Type exit

    reply
    0
  • PHPz

    PHPz2017-04-17 14:41:37

    Please pay attention to the quality of the question. Just hit exit to exit.

    reply
    0
  • 迷茫

    迷茫2017-04-17 14:41:37

    Try exit or quit

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 14:41:37

    It seems that you are a beginner in mysql and programming related knowledge. It is recommended to study the system in this book. The book will explain the knowledge of command line operation of mysql. The solution to the current problem can be to enter help in the mysql state to view the prompts. Teach a man to fish; exit, quit, and bye can all exit the command line

    reply
    0
  • Cancelreply