Rajeev Singh
Rajeev Singh
@arjundevrana Please use the username & password in the connection uri like this - ```properties spring.data.mongodb.uri=mongodb://useradmin:root@localhost:27017/admin ``` I've tried this and it's working. Spring Boot [MongoDB properties](https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html) are slightly confusing...
If you want to use username and password properties then make sure that you set host, port and database properties as well like this - ```properties spring.data.mongodb.host=localhost # This is...
Hi, Can you tell me your Spring Boot version and MySQL version? Also share the `mysql-connector-java` version if you have specified the version explicitly in the `pom.xml` file.
Hey, I wanted to know your mysql server version `mysql --version` Also, there is a stackoverflow thread [here](https://stackoverflow.com/questions/50855622/unknown-initial-character-set-index-255-received-from-server) on this issue. Have you checked that?
Hi, Can you verify that you have `@Repository` annotation on the `NoteRepository` interface?
Hi, Since your package names are different, you will need to change the fully qualified class name of the `ChoiceVoteCount` class in the following queries - ```java @Query("SELECT NEW com.example.polls.model.ChoiceVoteCount(v.choice.id,...