How to use the configuration of database to conditionally load beans In SpringBoot? My SpringBoot version is 2.3.4, database is Mysql 5.7.35