You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execute the command "docker inspect laradock_mysql_1" to view the container information IPAddress is empty, use Navicat to connect to mysql: 127.0.0.1 is rejected
#3433
Open
xiaoyanger2016 opened this issue
Aug 15, 2023
· 3 comments
xiaoyanger2016
changed the title
Execute the command "docker inspect laradock_mysql_" to view the container information IPAddress is empty, use Navicat to connect to mysql: 127.0.0.1 is rejected
Execute the command "docker inspect laradock_mysql_1" to view the container information IPAddress is empty, use Navicat to connect to mysql: 127.0.0.1 is rejected
Aug 15, 2023
1:C 15 Aug 2023 09:04:48.146 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 15 Aug 2023 09:04:48.146 # Redis version=7.0.12, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 15 Aug 2023 09:04:48.146 # Configuration loaded
1:M 15 Aug 2023 09:04:48.147 * monotonic clock: POSIX clock_gettime
1:M 15 Aug 2023 09:04:48.148 * Running mode=standalone, port=6379.
1:M 15 Aug 2023 09:04:48.148 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 15 Aug 2023 09:04:48.148 # Server initialized
1:M 15 Aug 2023 09:04:48.148 # Fatal: Can't initialize Background Jobs.
WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128
Navicat: 2003 - Can't connect to MySQL server on '127.0.0.1' (61 "Connection refused")
Description:
docker-compose up -d nginx mysql redis workspace
docker-compose ps
execute the command:
docker inspect laradock_mysql_1
, IPAddress is found to be a null characterBut executing the command "docker inspect laradock_nginx_1" found that IPAddress is not empty。
Expected Behavior:
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Steps to reproduce the issue:
docker inspect laradock_mysql_1
found that ipAddress is emptyNavicat: 2003 - Can't connect to MySQL server on '127.0.0.1' (61 "Connection refused")
3.Execute the following command to view container information IPAddress is also empty:
Stacktrace & Additional info:
docker-compose.yml
The text was updated successfully, but these errors were encountered: