• Symptom:

    After you run zstack-ctl start to start ZStack, the error is displayed as follows:

    When I run zstack-ctl status, the system prompts me for MySQL is not running.

  • Solution:

    First, attempt to check the configurations of /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/zstack.properties.

    For example:
    DB.url = jdbc:mysql://10.0.0.18:3306
    DB.user = zstack
    DB.password = zstack.password
    Run mysql -u zstack -pzstack.password -h 10.0.0.18 -P 3306 to check whether the MySQL database can be accessed.