从 powershell 连接 NosDB 独立数据库
Connect NosDB standalone database from powershell
使用 powershell scripts how can I connect to the standalone NosDB 数据库?
Connect-DatabaseCluster 显然默认连接到集群。
如果你这样做
get-help Connect-DatabaseCluster -full
您将获得所有可能值的列表。对你来说重要的是
-StandAlone [<SwitchParameter>]
Specifies if the database is standalone.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
因此您的命令更改为
Connect-DatabaseCluster -StandAlone
它写在文档中
使用 powershell scripts how can I connect to the standalone NosDB 数据库?
Connect-DatabaseCluster 显然默认连接到集群。
如果你这样做
get-help Connect-DatabaseCluster -full
您将获得所有可能值的列表。对你来说重要的是
-StandAlone [<SwitchParameter>]
Specifies if the database is standalone.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
因此您的命令更改为
Connect-DatabaseCluster -StandAlone
它写在文档中