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

nacos1.3.0连接mysql8.0失败 #3156

Closed
git-yo opened this issue Jun 23, 2020 · 1 comment
Closed

nacos1.3.0连接mysql8.0失败 #3156

git-yo opened this issue Jun 23, 2020 · 1 comment
Labels
status/duplicate This issue or pull request already exists

Comments

@git-yo
Copy link

git-yo commented Jun 23, 2020

mysql账号密码,主机端口信息均无错误。已提前在数据库中执行sql脚本,脚本地址为https://github.com/alibaba/nacos/blob/develop/distribution/conf/nacos-mysql.sql
使用1.2.1连接mysql5.6可以正常使用。

config-fatal.log报错信息:
2020-06-23 11:59:45,521 ERROR Nacos Server did not start because dumpservice bean construction failure :
java.lang.IllegalStateException: No DataSource set

2020-06-23 11:59:52,640 ERROR [master-db] master db not found.

2020-06-23 11:59:52,649 ERROR [db-error] master db down.

2020-06-23 12:02:39,827 ERROR [master-db] master db not found.

nacos.log报错信息:
Caused by: com.alibaba.nacos.api.exception.NacosException: Nacos Server did not start because dumpservice bean construction failure :
No DataSource set
at com.alibaba.nacos.config.server.service.dump.DumpService.dumpOperate(DumpService.java:191)
at com.alibaba.nacos.config.server.service.dump.ExternalDumpService.init(ExternalDumpService.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)

@chuntaojun
Copy link
Collaborator

#2916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants