Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect database #34

Open
zoey224 opened this issue Dec 13, 2019 · 3 comments
Open

Failed to connect database #34

zoey224 opened this issue Dec 13, 2019 · 3 comments
Labels
deployment help Ask for help when encountered a problem in deployment

Comments

@zoey224
Copy link

zoey224 commented Dec 13, 2019

**问题描述:登陆后无法连接上数据库

**已尝试解决方法:

已在 ${LINKIS_HOME}/linkis-metadata/conf/linkis.properties中添加了Hive meta信息,如下:
##datasource
wds.linkis.server.login.use.default=false
hive.meta.url=jdbc:mysql://127.0.0.1:3306/hive?characterEncoding=UTF-8
hive.meta.user=xxxx
hive.meta.password=xxxx

**查看日志
${LINKIS_HOME}/linkis-metadata/logs/linkis-metada.out

ERROR (main) ERROR DruidDataSource - mysql should not use 'PoolPreparedStatements'

@zoey224
Copy link
Author

zoey224 commented Dec 13, 2019

@wushengyeyouya
Copy link
Contributor

Can you give us more detail logs about linkis-metada.out?

Get the Yarn queue information failed is same as this issue, we can discuss it in this issue.

@wushengyeyouya wushengyeyouya added the deployment help Ask for help when encountered a problem in deployment label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment help Ask for help when encountered a problem in deployment
Projects
None yet
Development

No branches or pull requests

3 participants
@wushengyeyouya @zoey224 and others