Cannot create PoolableConnectionFactory (Unknown database 'DB_NAME'): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'DB_NAME' Because, there was no Database scheme in the mysql database engine. So, to solve this: In cons…