Skip to content

Connect with database client

ucan-lab edited this page Oct 6, 2023 · 13 revisions

Connect information

https://github.com/ucan-lab/docker-laravel/blob/main/docker-compose.yml#L67-L71

  • 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