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

请问application.properties怎么配置? #15

Open
Carlos-yyt opened this issue May 15, 2020 · 0 comments
Open

请问application.properties怎么配置? #15

Carlos-yyt opened this issue May 15, 2020 · 0 comments

Comments

@Carlos-yyt
Copy link

README.md的使用方法第三行:安装mysql,并将src/main/resources/application.properties文件下的数据库改为您配置的数据库。

文件如下:
`spring.session.store-type=none
mybatis.type-aliases-package=com.app.server

spring.datasource.url =jdbc:mysql://localhost:3307/test

数据库用户名

spring.datasource.username = root

数据库密码

spring.datasource.password = root

spring.datasource.driverClassName =com.mysql.jdbc.Driver

spring.datasource.max-active=20

spring.datasource.max-idle=8

spring.datasource.min-idle=8

spring.datasource.initial-size=10
`

请问有哪些要改呢?除了端口设置成了3307,别的都和教程一样,还需要改吗?

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

1 participant