$ docker exec -it db bash
root> mysql
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
root> /entrypoint.sh mysqld
....
root> mysqld
...
root> mysql -uroot -p
# then input password
# and it is ok. so confused!
mysql>
在Mac上可以使用 但是Windows 10出现错误:未指定命令。
onclick