Setting the default active profile in Spring-boot

What you are doing here is setting the default default profile (the profile that is used on any bean if you don’t specify the @Profile annotation) to be production.

What you actually need to do is set the default active profile, which is done like this:

spring.profiles.active=production

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)