You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MySQL 5.6.35 I get this error when trying to ensure a database is absent:
writeErrorStream : True
Exception : System.Management.Automation.RemoteException: Warning: Using a password on the command line
interface can be insecure.
TargetObject : Warning: Using a password on the command line interface can be insecure.
CategoryInfo : NotSpecified: (Warning: Using ...an be insecure.:String) [], RemoteException
FullyQualifiedErrorId : NativeCommandError
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at Invoke-MySqlCommand, C:\Program
Files\WindowsPowerShell\Modules\xMySql\2.1.0.0\MSFT_xMySqlUtilities.psm1: line 31
at Get-TargetResource, C:\Program Files\WindowsPowerShell\Modules\xMySql\2.1.0.0\DscResources\MS
FT_xMySqlDatabase\MSFT_xMySqlDatabase.psm1: line 31
at Test-TargetResource, C:\Program Files\WindowsPowerShell\Modules\xMySql\2.1.0.0\DscResources\M
SFT_xMySqlDatabase\MSFT_xMySqlDatabase.psm1: line 119
PipelineIterationInfo : {0, 0}
PSMessageDetails :
In MySQL 5.6.35 I get this error when trying to ensure a database is absent:
If I comment out Read-ErrorFile in both set and get resource I no longer get the error, it appears the standard error output contains these warning messages.
See http://stackoverflow.com/questions/20751352/suppress-warning-messages-using-mysql-from-within-terminal-but-password-written for suggested work arounds for this.
Exporting the MYSQL_PASSWORD variable works as temporary solution, can anybody think of a better workaround?
The text was updated successfully, but these errors were encountered: