Cmdlets for MySQL

Build 25.0.9434

Domain Parameter (Connect-MySQL Cmdlet)

Specifies the Windows domain name to use when the AuthScheme is NTLM, which enables Windows Integrated Authentication using the NTLM protocol. This value is required if the user account belongs to a domain other than the local machine or default network domain.

Syntax

Connect-MySQL -Domain string

Data Type

cstr

Default Value

""

Remarks

By default, the cmdlet uses the domain of the local machine it is running on or, if applicable, the domain of the machine hosting the MySQL instance.

Use this property to explicitly specify a different domain if you are connecting to a remote server under a different Active Directory domain, or if you want to override the default behavior for testing or deployment.

Example:

Domain = "CORPDOMAIN"
Note: Ensure that the user credentials provided (via the User and Password properties) are valid for the specified domain. Failure to do so may result in authentication errors.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434