SRM 4.4.x: Как изменить пароли MySQL
Summary: Если необходимо изменить пароль MySQL в целях безопасности, см. инструкции ниже.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
Как изменить пароли MySQL 4.4.x:
ШАГ 1.
Linux
Создайте файл hostnames.conf, как показано ниже, и введите следующее:
Пример: #cat opt\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
Example: dir program files\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
ШАГ 2.
Linux
Запустите сценарий:
xxxxxx:/opt/APG/bin # ./launch-update-backend-passwords.sh -c /opt/APG/hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
xxxxxx: \program files\APG\bin launch-update-backend-passwords.cmd -c program files \APG\hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
По завершении войдите в базу данных MySQL с помощью нового пароля, используя сценарий mysql-client.
ШАГ 1.
Linux
Создайте файл hostnames.conf, как показано ниже, и введите следующее:
Пример: #cat opt\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
Example: dir program files\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
ШАГ 2.
Linux
Запустите сценарий:
xxxxxx:/opt/APG/bin # ./launch-update-backend-passwords.sh -c /opt/APG/hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
xxxxxx: \program files\APG\bin launch-update-backend-passwords.cmd -c program files \APG\hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Updating...
Flushing Privileges
Flushing Privileges
- Stopping 'webservice-gateway Default'...
- Stopping 'webservice-gateway Default'... [ OK ]
- Starting 'webservice-gateway Default'...
- Starting 'webservice-gateway Default'... [ OK ]
- Stopping 'compliance-backend generic-compliance'...
- Stopping 'compliance-backend generic-compliance'... [ OK ]
- Starting 'compliance-backend generic-compliance'...
- Starting 'compliance-backend generic-compliance'... [ OK ]
- Пароль изменен для пользователя apg и всех файлов конфигурации, обновленных на сервере.
- Примечание. Если пароль пользователя «root» изменен, измените его на всех серверах, прежде чем изменять пользователя «apg».
- Примечание. Выполните указанные выше действия, чтобы изменить пароль по умолчанию после добавления нового внутреннего сервера. Защита базы данных MySQL
По завершении войдите в базу данных MySQL с помощью нового пароля, используя сценарий mysql-client.
Affected Products
SRMArticle Properties
Article Number: 000181868
Article Type: How To
Last Modified: 18 Aug 2021
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.