#build error

1 messages · Page 1 of 1 (latest)

distant folio
#

can anyone explain what is the error here? like i am not able to understand anything from this

hearty sluiceBOT
#

<@&1004656351647117403> please have a look, thanks.

ripe breach
#

check that u got no red error, if not u need to activate the switches to get the big stacktraces

compact shore
#

Can you scroll up a little bit? And you should update to Spring Boot 3.3.

distant folio
#

@compact shore check this out brother

compact shore
#

Your database configuration is wrong.

distant folio
#

oh

compact shore
distant folio
#

ok

#

so how to rectify it

ripe breach
#

can u show the code that does the connection ? ( or the configuration )

#

and what db are u using ?

compact shore
distant folio
#

just a min

#

DataSource for Scores

spring.datasource.scores.url=jdbc:mysql://127.0.0.1:3306/scores
spring.datasource.scores.username=root
spring.datasource.scores.password=ec21b1011
spring.datasource.scores.driver-class-name=com.mysql.cj.jdbc.Driver

DataSource for Questions

spring.datasource.questions.url=jdbc:mysql://127.0.0.1:3306/quiz2
spring.datasource.questions.username=root
spring.datasource.questions.password=ec21b1011
spring.datasource.questions.driver-class-name=com.mysql.cj.jdbc.Driver

JPA properties

spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect

#

i stored it in application.properties

#

actually i am using a local db

#

mysql for this

hearty sluiceBOT