prepare scm database
/usr/share/cmf/schema/scm_prepare_database.sh -h 172.31.23.110 mysql scm scm scm
JAVA_HOME=/usr/java/jdk1.8.0_171-amd64
Verifying that we can write to /etc/cloudera-scm-server
Creating SCM configuration file in /etc/cloudera-scm-server
Executing: /usr/java/jdk1.8.0_171-amd64/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.
[ main] DbCommandExecutor INFO Successfully connected to database.
All done, your SCM database is configured correctly!
scm database properties
more db.properties
Auto-generated by scm_prepare_database.sh on Thu May 17 03:32:08 EDT 2018
#
For information describing how to configure the Cloudera Manager Server
to connect to databases, see the "Cloudera Manager Installation Guide."
prepare scm database /usr/share/cmf/schema/scm_prepare_database.sh -h 172.31.23.110 mysql scm scm scm JAVA_HOME=/usr/java/jdk1.8.0_171-amd64 Verifying that we can write to /etc/cloudera-scm-server Creating SCM configuration file in /etc/cloudera-scm-server Executing: /usr/java/jdk1.8.0_171-amd64/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db. [ main] DbCommandExecutor INFO Successfully connected to database. All done, your SCM database is configured correctly!
scm database properties more db.properties
Auto-generated by scm_prepare_database.sh on Thu May 17 03:32:08 EDT 2018
#
For information describing how to configure the Cloudera Manager Server
to connect to databases, see the "Cloudera Manager Installation Guide."
# com.cloudera.cmf.db.type=mysql com.cloudera.cmf.db.host=172.31.23.110 com.cloudera.cmf.db.name=scm com.cloudera.cmf.db.user=scm com.cloudera.cmf.db.setupType=EXTERNAL com.cloudera.cmf.db.password=scm