这是我脚本中的一部分代码:
怎么将$connectionStr里面的字符串进行加密啊?
[void][System.Reflection.Assembly]::LoadWithPartialName("MySql.Data") $connectionStr = "Server=10.0.0.1;Uid=user;Pwd=123456;database=my_test;" $querysql = "SELECT ServerOSSFilePath FROM test WHERE ID = 'ser';" $connection = New-Object MySql.Data.MySqlClient.MySqlConnection
1 Answers