Laravel
$ docker ps

CONTAINER ID
××××

××××を控えておく

docker exec -it ×××× bash

mysqlコマンドにて、接続

mysql -u ユーザ名 -p

パスワード入力

2019年2月4日現在、MySQLのバージョンは8系でした。

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 8.0.13 MySQL Community Server – GPL

コメント

タイトルとURLをコピーしました