Ustaw domyślne poświadczenia MySQL
Microsoft.MySQLServer.SetDefaultCred.Task (Task)
Ustawia poświadczenia, których moduł CIM MySQL będzie używać do łączenia się z działającym serwerem. To zadanie ustawia domyślną nazwę użytkownika i hasło do wszystkich wystąpień
Element properties: Member Modules:
Source Code: <Task ID="Microsoft.MySQLServer.SetDefaultCred.Task" Target="Microsoft.MySQLServer.Installation.Unix" Accessibility="Public" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="SetDefaultCredentials" TypeID="Microsoft.MySQLServerCredentials.WSMan.Invoke.WriteAction">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
<MySQLUserName>$Config/MySQLUserName$</MySQLUserName>
<MySQLPassword>$Config/MySQLPassword$</MySQLPassword>
<MySQLPort>0</MySQLPort>
<BindAddress>$Target/Property[Type="Microsoft.MySQLServer.Installation"]/BindAddress$</BindAddress>
</WriteAction>
</Task>