Skip to content

ironikot/docker-with-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

About

M1 Macの環境で、DockerでDBを作り、外部から接続してみるものです。 mysqlを試しに使っています。

How to use

  1. db_testのディレクトリに移動します.
  2. 起動コマンドを叩く
docker-compose up -d 
  1. mysqlにログインしてみる。

この時、hostはLocalhostと記述するとNGっぽいです。

mysql --host=127.0.0.1 --user=root --password=password --port=3306

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published