nodejs:如何查看飞行托管的sqlite数据
因此,我已经在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论