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

error: config file etc/core-api.yaml, error: type mismatch for field Mysql #1

Closed
567MEI13 opened this issue Aug 7, 2022 · 5 comments

Comments

@567MEI13
Copy link

567MEI13 commented Aug 7, 2022

配置mysql的时候报这个错,是哪里没设置好吗

@GetcharZp
Copy link
Owner

核实下core-api.yml配置中是否有Mysql这个字段

@567MEI13
Copy link
Author

567MEI13 commented Aug 7, 2022

有的,是DataSource这个字段没有高亮,我看你的视频里这个字段高亮了

@GetcharZp
Copy link
Owner

检查下格式是否是yml文件的格式,缩进、冒号那些是否有问题

@567MEI13
Copy link
Author

567MEI13 commented Aug 7, 2022

万分感谢,是少了个空格

@567MEI13
Copy link
Author

567MEI13 commented Aug 7, 2022

虽然高亮了,但是还是不行
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants