Impostare le credenziali MySQL predefinite
Microsoft.MySQLServer.SetDefaultCred.Task (Task)
Imposta le credenziali usate dal modulo CIM MySQL per la connessione al server in esecuzione. Questa attività imposta il nome utente e la password predefiniti per tutte le istanze.
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>