我正在尝试连接到Docker上的mysql。我用./vendor/bin/sail up启动了Laravel。
命令docker container ls返回以下内容:
ID 88df79d8937f
IMAGE mysql:8.0
COMMAND "docker-entrypoint.s…"
CREATED 38 minutes ago
STATUS Up 38 minutes (healthy)
PORTS 0.0.0.0:3306->3306/tcp, 33060/tcp
NAMES laravel-app_mysql_1
我使用docker con
我已经完成了这个,并成功地部署了一个3节点副本集。我可以从其他主机连接到它,一切都很好。我的问题是,在教程中它说明
Start MongoDB
Once the configuration files have been edited, start the database process manual:mongod on each instance by:
Log on onto the instance
Run the following command to start the process:
mongod --config /etc/mongod.co