Comments (4)
@yg-jiugui
从您这边的反馈错误信息来看, 更像是docker-compose
出错了. 我这边可以给出的以下建议:
-
检查安装版本之间是否有冲突;
-
检查安装过程是否正常;
from cfadmin.
@yg-jiugui
如果检查还是有问题的话! 可以先停止所有正在运行的容器, 然后再次运行之前的启动命令尝试.
from cfadmin.
@ yg-jiugui
从您这边的反馈错误信息来看,更像是
docker-compose
出错了。我这边可以告知的以下建议:
- 检查安装版本之间是否存在冲突;
- 检查安装过程是否正常;
谢谢 我ubuntu 下 重新安装docker-ce 在官网有详细的安装教程 之前安装的是docker所以运行它一直报错误。
我运行这个 sudo docker-compose -f docker-compose-with-cfadmin.yaml up
我这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.
@yg-jiugui
根据错误提示可以判断应该是连接协议有问题!
但是并不能排除您配置的账户、密码是否正确, 这个需要您自行确认. :)
根据您的回应, 需要说明的是:
-
你在
docker-compose
文件使用的MySQL镜像在这里, 可以从此处查看镜像使用帮助. -
目前
master
分支的协议已经支持8.x连接, 您可以将command: default-authentication-plugin=mysql_native_password
注释后再尝试是否可以正常使用. -
docker
文件夹内的相关docker-compose
文件都是可配置性较低的东西, 如果您本地编译或使用安装包安装会更加简单;
最后我给您一些建议:
-
根据您要灵活定制的需求最好是自建镜像最优, 其他使用者都有自己构建开发、生产环境镜像的习惯;
-
需要知道的是,
docker
内的示例都是以演示为主. 如果构建镜像对您的环境有一定难度的话, 也优先建议您编译安装后开发调试. -
如果您对本机安装、配置、编译等等还是有其他的疑问. 可以加入项目首页的交流群, 这样能得到更多人、更加时效的回答.
from cfadmin.
Related Issues (20)
- ubuntu build error HOT 4
- 自己编译和docker都不能正常运行 HOT 10
- 访问错误,出现不能继续正常工作的情况。 HOT 9
- 安全机制控制问题 HOT 2
- 文件上传只能小文件 HOT 15
- 域名访问 出现问题 HOT 19
- firefox 认证不正确 HOT 3
- 浏览器适配问题 HOT 5
- 请教个路由的问题 HOT 5
- Content-Type 最好能修改 HOT 34
- 关于多库,分权分域的问题 HOT 1
- 后台操作耗时,如何同步? HOT 11
- 升级后mysql连接错误 HOT 5
- 最新代码启动问题 HOT 5
- 目录结构有问题 HOT 1
- 经由cfadmin 后台启动的脚本 或程序 信号量被屏蔽了 HOT 23
- 发现一个稳定性的随机问题 HOT 5
- 建议httpd增加DELETE和PATCH动词的支持 HOT 1
- 大哥,AES_256_GCM加密可以用吗 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfadmin.