You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/07/10 06:24:58 UTC

[GitHub] [incubator-apisix-dashboard] TikWind opened a new issue #302: docker-compose mysql connection refused

TikWind opened a new issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302


   ## Descripe
   
   Hi everyone, I follow https://github.com/apache/incubator-apisix-dashboard/blob/master/compose/README.md to deploy this project, but when I visit http://127.0.0.1/dashboard/ in the browser, it redirect http://127.0.0.1/dashboard/setting :
   
   ![image](https://user-images.githubusercontent.com/65604564/87121771-23485200-c2b6-11ea-8569-6f22253ae65f.png)
   
   When I use `docker logs` to look image name "dashboard_manager" and container name "dashboard_manager_1" :
   
   ![image](https://user-images.githubusercontent.com/65604564/87122425-71118a00-c2b7-11ea-9578-911e0c939b0b.png)
   
   ## Question
   
   There is a error `panic: fail to connect to DB: dial tcp 192.17.5.14:3306: connect: connection refused for root:123456@tcp(192.17.5.14:3306)/manager?charset=utf8&parseTime=True&loc=Local`. Why? How to solve this problem? Thanks. 
   
   ## Environment
   
   System: CentOS Linux release 7.8.2003 (Core)
   CPU: 4 core
   Memory: 8G
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] TikWind commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
TikWind commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-660756856


   This bug is not mysql connect problem, at the begining, mysql start slowly, so other can' connect(so it will output error logs ), but when mysql start success, it is OK. 
   
   The real problem may be incompatibility problem, #324 #322 can resolve this bug.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan closed issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657386188


   ok 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] imjoey commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
imjoey commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657359292


   @juzhiyuan @TikWind  For your information, the mysql connection error has gone with the latest code and everything worked in my case.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657386349


   Feel free to reopen this issue when the error occurred again


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657309819


   @TikWind Hi, would you mind adding my WeChat (JuShaoyao) and have a remote screen share?
   
   @imjoey I will update here once this issue is fixed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] TikWind commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
TikWind commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657306557


   I hava tried again in master branch, but it is the same. @juzhiyuan


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] TikWind edited a comment on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
TikWind edited a comment on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-660756856


   This bug is not mysql connect problem, at the begining, mysql start slowly, so other can' connect(so it will output error logs ), but when mysql start success, it is OK. 
   
   The real problem may be incompatibility problem, #322 #324 can resolve this bug.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657299629


   Please have a try in the new Dashboard :) 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] imjoey commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
imjoey commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-660758179


   > This bug is not mysql connect problem, at the begining, mysql start slowly, so other can' connect(so it will output error logs ), but when mysql start success, it is OK.
   > 
   > The real problem may be incompatibility problem, #322 #324 can resolve this bug.
   
   @TikWind Good catch. Thanks for your work. 
   
   While I have one more question that, everything is fine with my macOS docker desktop environment, is this bug OS dependent? Thanks.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] imjoey edited a comment on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
imjoey edited a comment on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657359292


   @juzhiyuan @TikWind  For your information, the mysql connection error has gone with the latest code and everything worked in my case.
   
   My environment is:
   
   Operating system: macOS
   Docker version: macOS docker desktop v2.3.0.2
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] imjoey commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
imjoey commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657400865


   > Feel free to reopen this issue when the error occurred again
   
   @juzhiyuan many thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] TikWind commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
TikWind commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-656527813


   OK, thanks. @juzhiyuan 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-656527337


   Hi, this may be related to a issue we found those days, and it will be fixed this weekend. Once it’s fixed, I will notify you here.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] imjoey commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
imjoey commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-657302059


   +1 for same issue.
   
   @juzhiyuan May I ask which pull request fixed this or what the cause was? Thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan closed issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] TikWind commented on issue #302: docker-compose mysql connection refused

Posted by GitBox <gi...@apache.org>.
TikWind commented on issue #302:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/302#issuecomment-656525535


   @juzhiyuan hello, can u help me to have a look? Thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org