Skip to content

Connect with database client

ucan-lab edited this page Oct 19, 2021 · 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

https://www.jetbrains.com/phpstorm

db-phpstorm

TablePlus

https://tableplus.com

db-tableplus

CLI

$ make mysql

or

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