Set Default MySQL Credentials
Microsoft.MySQLServer.SetDefaultCred.Task (Task)
Sets credentials that the MySQL CIM module will use to connect to the running server. This task sets the default username and password for all instances
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>