Documentation

mysqlAddSlave

array public static
\Bitrix\Scale\ActionModifyer::mysqlAddSlave(
 string $actionId,
 array $actionParams,
 string $hostname
);

Modifier for BitrixVM action parameter MYSQL_ADD_SLAVE (add slave database). Static method.

Parmeters

ParameterDescriptionVersion
$actionIdBitrixVM action ID .
$actionParamsAction parameters.
$hostnameHost name.

Exceptions

  • \Bitrix\Scale\NeedMoreUserInfoException

Example



© «Bitrix24», 2001-2024
Up