Skip to content

Connect with database client

ucan-lab edited this page Sep 4, 2020 · 13 revisions

Connect information

https://github.com/ucan-lab/docker-laravel/blob/master/infrastructure/docker/mysql/Dockerfile#L4-L7

  • DB_NAME: laravel_local
  • DB_USER: phper
  • DB_PASS: secret

PhpStorm

db-phpstorm

TablePlus

db-tableplus

CLI

$ make mysql

or

$ docker-compose exec db bash
$ mysql -u $MYSQL_USER -p$MYSQL_PASSWORD $MYSQL_DATABASE
Clone this wiki locally