问题标签 [nosdb]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
322 浏览

powershell - 从 powershell 连接 NosDB 独立数据库

使用powershell 脚本如何连接到独立的NosDB数据库?

Connect-DatabaseCluster 显然默认连接到集群。

0 投票
1 回答
79 浏览

powershell - 如何在 NosDB 开源中添加第二个节点?

我正在尝试NosDB,在单个节点上创建了数据库集群,然后在我的数据库集群中添加了第二个节点,但我失败并显示错误消息“Add-Shard : Login 'asif_mehmood' does not exist”。
我执行的步骤:

  • 在两个盒子上安装了 NosDb OpenSource。
  • 使用 New-DatabseCluster powershell cmmdlet 在第一个盒子上创建了一个带有一个分片的集群。
  • 使用 Add-shard powershell cmdlet 添加了另一个以第二个框为节点的分片。
  • 失败并显示以下错误消息

Add-Shard:登录 'asif_mehmood' 不存在
在行:1 char:1
+ Add-Shard -Name shard2 -Server 192.168.0.15 -Port 2250