Comments (4)
这个问题吧,我说下我解决的步骤。
开始也是报错,mysql连接不上。其实原因是配置文件里面要配置下使用ip或者其他方式连接。 初始是用localhost来的。docker里面有没有localhost的mysql,所以肯定错误。
步骤1. 先安装一个mysql或者mariadb,docker或者自有mysql,启动即可。
步骤2.修改配置文件,将mysql改为步骤1中启动mysql的ip地址。(确保步骤1中的mysql可以外部连接)
步骤3.启动docker。应该就可以了。
建议作者 @TrumanDu 来一份docker-compose吧,这样properties中mysql直接用,,不然我看问题中大都是mysql连接不上的。。或者给一份说明。
from kcenter.
参考了其他issue ,本地起了一个mariadb, 结果还是不行
from kcenter.
@lizeyun 你的mysql可以用客户端访问吗?还有你的具体过程可以描述一下吗?比如机器是否存在多网卡等。程序是否是使用docker启动?可否先尝试全部用docker 部署。目前的log我无法确定是哪里的问题。127....更换成你本机ip.确保客户端可以连接mysql。
from kcenter.
@lizeyun 我先关闭该issue,如果你还有问题,再重新打开。
from kcenter.
Related Issues (20)
- 使用docker-compose快速启动 HOT 7
- 启动后访问8080报错,ERROR 401 HOT 6
- 本地服务起来之后,访问http://localhost:8080/ 没反应 HOT 1
- 停止维护了? HOT 1
- Can we see the each message detail content of topics in kafkaCenter? HOT 1
- Adding a new message to a topic from Dashboard HOT 1
- Condition 'admin!=null' is always 'true' HOT 2
- OAuth Scopes Issues HOT 3
- kafkacenter-2.3.0目前支持的kafka和zookeeper版本是多少 HOT 6
- ksql使用问题
- 编译完运行localhost:8080打不开 报401错误 HOT 2
- kafkaCenter连接不上cdp集群内的kafka HOT 3
- 项目jar包跑起来,一点用的没有。根本运行不起来 HOT 3
- 无法正确获取Kafka监控数据 HOT 2
- 本地安装时,最新的发行包应该放在什么位置?启动方式是否需要指定 HOT 1
- Cannot add a new cluster because zkaddress is inactiveadd new HOT 1
- 创建完connect,点击add添加connetc job直接跳转到首页是怎么回事儿 HOT 1
- kcenter 不支持ES使用https连接导致启动报错
- kcenter 添加用户和team后无法正常显示,重复添加时又报错用户存在 HOT 3
- 不支持AWS msk HOT 2
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 kcenter.