Steps to change the APG or MySQL database password.
Watch4Net/M&R:7.x
/opt/APG/bin/manage-modules.sh service stop tomcat
)/opt/APG/bin/manage-modules.sh service stop backend
)/opt/APG/bin/manage-modules.sh service stop task-scheduler
) to prevent database optimization tasks from running./opt/APG/bin/mysql-client.sh
/opt/APG/bin/datastore-client.sh
update user set password=PASSWORD("NEW_PASSWORD") where User='apg';
update user set password=PASSWORD("NEW_PASSWORD") where User='root';
Replace the string "NEW_PASSWORD" with your own password.
GRANT ALL PRIVILEGES ON *.* TO 'apg'@'localhost' IDENTIFIED BY 'NEW_PASSWORD';
GRANT ALL PRIVILEGES ON *.* TO 'apg'@'server.domain.net' IDENTIFIED BY 'NEW_PASSWORD';
GRANT ALL PRIVILEGES ON *.* TO 'apg'@'<IP Address>' IDENTIFIED BY 'NEW_PASSWORD';
FLUSH PRIVILEGES;
/opt/APG/Web-Servers/Tomcat/Default/conf/server.xml
/opt/APG/Tools/Frontend-Search/Default/conf/frontend-search.xml
/opt/APG/Tools/Frontend-Report-Generator/Default/conf/report-generation-config.xml
/opt/APG/Tools/Administration-Tool/Default/conf/master-accessor-service-conf.xml
/opt/APG/Tools/WhatIf-Scenario-CLI/Default/conf/whatif-scenario-cli-conf.xml
/opt/APG/Web-Servers/Tomcat/Default/conf/module.properties and add this line:
javax.sql.DataSource.Factory=com.watch4net.apg.v2.gui.tomcat.W4NDataSourceFactory
/opt/APG/Backends/APG-Backend/Default/conf/mysql.xml
/opt/APG/Tools/Topology/Default/conf/topology-refresh-config.xml
/opt/APG/Tools/MySQL-Maintenance-Tool/Default/conf/mysql-root-apg.xml
/opt/APG/Tools/MySQL-Maintenance-Tool/Default/conf/mysql-root-mysql.xml
/opt/APG/Tools/MySQL-Maintenance-Tool/Default/conf/mysql.xml
/opt/APG/Tools/Administration-Tool/Default/conf/master-accessor-service-conf.xm
l