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

创建自定义数据库时,名称若不是“wyait”无法正常访问 #10

Open
ChanaLii opened this issue Jan 8, 2020 · 1 comment

Comments

@ChanaLii
Copy link

ChanaLii commented Jan 8, 2020

我创建了一个名为“Test”的数据库,并在"application.properties"文件中设置“spring.profiles.active=dev”,并修改文件“application-dev.properties”中关于数据库连接的所有信息

当项目启动并对其访问时,会提示Unknow database "Test";

我全局搜索“wyait”并修改有关数据库的连接信息为“Test”仍然无法正常访问;只有创建名为“wyait”的数据库才能正常访问。

@wyait
Copy link
Owner

wyait commented Aug 12, 2021

更改配置文件并确认连接的数据库实例中是否存在Test数据库,另外确认下数据库配置是否有大小写敏感问题

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