nodejs:如何查看飞行托管的sqlite数据

发布于 2025-02-07 06:18:15 字数 624 浏览 4 评论 0原文

因此,我已经在README文件中所说的那样部署了此存储库。

https://github.com/remix-run/indie-stack

一切正常我看到我的网站已部署,问题是:如何查看托管的数据库?我只能看到一个应用程序创建的应用程序,因此我的SQLite数据库Living在哪里以及如何直接从表中操纵实时数据。

由于我从未使用过Prisma和Sqlite的组合,因此如果您为我提供一些学习使用它的快速提示/建议,那将是很棒的。

编辑:在读取文件上它说
您可以通过运行fly SSH控制台-C数据库CLI连接到实时数据库。

但是我没有安装SSH,并且会收到以下错误:

运行“ FlyCtl.exe版本更新”以升级。 连接到top1.nearest.of.speedshop.internal ...完成 连接到SSH服务器的错误错误:SSH:握手失败:SSH:无法进行身份验证,尝试的方法[无公共钥匙],没有支持的方法仍然是我

绝对必要的,让我有SSH查看我的数据库或有其他方法?

So I have deployed this repository as it says in the readme file.

https://github.com/remix-run/indie-stack

Everything works well and I see that my site is deployed, the question is: How do I view my database that is hosted? I can only see one app got created in fly, so where is my sqlite database living and how to manipulated the live data directly from the tables.

As I have never used the combination of Prisma and Sqlite so It would be great if you provide me some quick tips/ suggestions to learn to use it.

Edit: On the readme file it says
You can connect to the live database by running fly ssh console -C database-cli.

but I do not have ssh installed and I get the following error:

Run "flyctl.exe version update" to upgrade.
Connecting to top1.nearest.of.speedshop.internal... complete
Error error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Is it absolutely necessary for me to have ssh to view my DB or there is another way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文