I have created a mysql database (scm) & user (scm@localhost) on a RHEL7 server. CM server version is cloudera-manager-server-7.6.7-36957245.el7.x86_64; mysql version is mysql Ver 8.0.42 for Linux on x86_64 (MySQL Community Server - GPL).
DB user has following grants...mysql> grant select, insert, update, delete, create, drop on scm.* to 'scm'@'localhost';
When the scm_prepare_database.sh script is executed, it returns "All done, your SCM database is configured correctly!" HOWEVER, multiple database tables are NOT created & the cloudera-scm-server.service will NOT stay started.
cloudera-scm-server.log returns multiple errors like
Caused by: java.sql.SQLSyntaxErrorException: Table 'scm.CM_VERSION' doesn't exist
Caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Caused by: java.lang.RuntimeException: Unable to obtain CM release version.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeException: Unable to obtain CM release version.
2025-07-31 23:49:30,224 ERROR main:com.cloudera.server.cmf.Main: Server failed.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cloudera.server.cmf.TrialState': Cannot resolve reference to bean 'entityManagerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested excption is java.lang.RuntimeException: Unable to obtain CM release version.
Cloudera Support is unable to help so .
Any ideas how to resolve java bean errors or at minimum have DDL of necessary tables to build for core mysql db build?
Appreciate any ideas!