-
Notifications
You must be signed in to change notification settings - Fork 22
PostgreSQL 数据库地址 配置 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Postgresql 数据库这里使用的是远程服务器,因为可能需要部署在 Vercel 或 Netlify 上。 目前是自己的服务器开了远程 Postgresql 服务,你如果没有服务器 或 本地也不想安装,那么可以推荐一些第三方平台,如 railway 或 supabase 等等. 一个 PostgreSQL 数据库地址 类似 不过目前我主要是为了体验 prisma 相关函数以及 PostgreSQL 才会使用此数据库。后续也许会针对一个简易部署版,改用 nitro storage 来作为数据存储,毕竟目前部署成本确实是有点高的,需要开发者有一定 prisma 和 PostgreSQL 基础。 |
你好,我刚刚在supabase创建了一个项目,执行npx prisma db push,一直报Please make sure your database server is running at |
你先确保使用本地连接工具能否连接到 supabase 的数据库上,在 supabase 项目中可以找到数据库相关设置。 如 |
PostgreSQL 数据库地址都这里就不明白了,.env文件具体需要改什么,能不能出个简单一点的教程,谢谢了。
The text was updated successfully, but these errors were encountered: