Creating Cloudera Manager Server database configuration file
The scm_prepare_database.sh script is used to create the
    configuration file for the Cloudera Manager Server database. This file
    contains the necessary settings for the connection between Cloudera Manager
    and the database.
scm_prepare_database.sh script checks the
      connection between the Cloudera Manager server and the database, and upon
      successful connection, it generates the
        /etc/cloudera-scm-server/db.properties file. This file includes the
      required configurations for the database connection.Restart the Cloudera Manager Server by running the following
        command:
    sudo systemctl restart cloudera-scm-server