1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MySQLでquit;コマンドで終了した際に、root@以下省略が表示されてしまい元のディレクトリに戻れない

Posted at

環境

mac OS Big Sur
docker上でMySQLを起動
(何か間違えていましたらすみません)

状況

MySQLをターミナル上で終了しようとした際にroot@が表示されてしまう

MySQL [book_log]> quit;
Bye
root@ebe3e64de4d6:/var/www/html#

何か押してしまってroot@が表示されてしまったのだろうか

exitコマンドで抜け出せました!

root@ebe3e64de4d6:/var/www/html# exit;
exit
ss@saaaMPro part2 %

rootが表示され、かなり焦りました笑

参考にさせていただきました。ありがとうございます!
[ターミナルにて、mysqlからexitできない]
(https://teratail.com/questions/206451)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?