Coder Social home page Coder Social logo

Comments (4)

CandyMi avatar CandyMi commented on June 15, 2024

@yg-jiugui

从您这边的反馈错误信息来看, 更像是docker-compose出错了. 我这边可以给出的以下建议:

  • 检查安装版本之间是否有冲突;

  • 检查安装过程是否正常;

from cfadmin.

CandyMi avatar CandyMi commented on June 15, 2024

@yg-jiugui

如果检查还是有问题的话! 可以先停止所有正在运行的容器, 然后再次运行之前的启动命令尝试.

from cfadmin.

exyoyou avatar exyoyou commented on June 15, 2024

@ yg-jiugui

从您这边的反馈错误信息来看,更像是docker-compose出错了。我这边可以告知的以下建议:

  • 检查安装版本之间是否存在冲突;
  • 检查安装过程是否正常;

谢谢 我ubuntu 下 重新安装docker-ce 在官网有详细的安装教程 之前安装的是docker所以运行它一直报错误。

我运行这个 sudo docker-compose -f docker-compose-with-cfadmin.yaml up
ae4e66d769c46d4c95409cf411a8800b我这mysql用的不是root用户 但是不知道这里应该改为什么呢 现在在这里一直错误 我想应该是这里有问题吗?main.lua方法中配置也是 username不是root

WebApp_1 | [2020-07-01 08:13:00,128] [@lualib/DB/init.lua:51] [WARN] : "The connection failed. The reasons are: [MySQL Authentication protocol not supported], Try to reconnect after 3 seconds"
docker_WebDB_1 exited with code 127
WebApp_1 | [2020-07-01 08:13:00,332] [@lualib/DB/init.lua:51] [WARN] : "The connection failed. The reasons are: [MySQL Authentication protocol not supported], Try to reconnect after 3 seconds"
WebApp_1 | [2020-07-01 08:13:00,543] [@lualib/DB/init.lua:51] [WARN] : "The connection failed. The reasons are: [MySQL Authentication protocol not supported], Try to reconnect after 3 seconds"
WebApp_1 | [2020-07-01 08:13:00,748] [@lualib/DB/init.lua:51] [WARN] : "The connection failed. The reasons are: [MySQL Authentication protocol not supported], Try to reconnect after 3 seconds"

from cfadmin.

CandyMi avatar CandyMi commented on June 15, 2024

@yg-jiugui

根据错误提示可以判断应该是连接协议有问题!

但是并不能排除您配置的账户、密码是否正确, 这个需要您自行确认. :)

根据您的回应, 需要说明的是:

  • 你在docker-compose文件使用的MySQL镜像在这里, 可以从此处查看镜像使用帮助.

  • 目前master分支的协议已经支持8.x连接, 您可以将command: default-authentication-plugin=mysql_native_password 注释后再尝试是否可以正常使用.

  • docker文件夹内的相关docker-compose文件都是可配置性较低的东西, 如果您本地编译或使用安装包安装会更加简单;

最后我给您一些建议:

  • 根据您要灵活定制的需求最好是自建镜像最优, 其他使用者都有自己构建开发、生产环境镜像的习惯;

  • 需要知道的是, docker内的示例都是以演示为主. 如果构建镜像对您的环境有一定难度的话, 也优先建议您编译安装后开发调试.

  • 如果您对本机安装、配置、编译等等还是有其他的疑问. 可以加入项目首页的交流群, 这样能得到更多人、更加时效的回答.

from cfadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.