ClickHouse / ClickHouse/clickhouse-java
No alert in spring log for "Not enough privileges." error
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 636
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 28
Description
Here are 2 scenarios:
## 1. Correct user/pasword but wrong database in URL
Steps to reproduce:
1. Configurations in application.yml. Correct user/pasword but wrong database in URL
2. Hardcode the correct database name in mapper.xml
3. `We won't get any warnning info or alert when starting the spring application`
4. `Also no alert when we call the corresponding api interface thru postman or others`
## 2. Correct user/pasword and correct database in URL, but wrong database name in mapper.xml
Steps to reproduce:
1. Configurations in application.yml. Correct user/pasword and correct database in URL
2. Hardcode the wrong database name in mapper.xml
3. `Call the interface by postman or else, we got 500 error.`
4. `No alert in application log.`
Contributor guide
Assessment
This issue has not been assessed yet.