기본 MySQL 자격 증명 설정

Microsoft.MySQLServer.SetDefaultCred.Task (Task)

MySQL CIM 모듈이 실행 중인 서버에 연결하는 데 사용할 자격 증명을 설정합니다. 이 작업은 모든 인스턴스의 기본 사용자 이름과 암호를 설정합니다.

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>