Varsayılan MySQL Kimlik Bilgilerini Ayarla

Microsoft.MySQLServer.SetDefaultCred.Task (Task)

MySQL CIM modülünün çalışan sunucuya bağlanmak için kullanacağı kimlik bilgilerini ayarla. Bu görev tüm örnekler için varsayılan kullanıcı adını ve parolayı ayarlar

Element properties:

TargetMicrosoft.MySQLServer.Installation.Unix
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
SetDefaultCredentials WriteAction Microsoft.MySQLServerCredentials.WSMan.Invoke.WriteAction Default

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>