you are working with prisma in .env file format of DATABASE_URL should be like this if using mongodb Atlas ** follow the steps: 1.in database choose connect the select "connect to application" 2.copy the url and past it as ** DATABASE_URL in .env file for example
发布评论
评论(3)
您正在使用 Prisma 中的.env文件格式,如果使用 mongodb atlas **,则应像这样。
1.在数据库中选择连接选择“连接到应用程序”
2.复制URL并以**数据库< / strong>在.env文件中的** < / strong>
3.将所有内容删除mongodb.net / exthere east
you are working with prisma in .env file format of DATABASE_URL should be like this if using mongodb Atlas ** follow the steps:
1.in database choose connect the select "connect to application"
2.copy the url and past it as ** DATABASE_URL in .env file for example
3.remove everything after mongodb.net / and replace by your database name like below
在.env文件中检查您的数据库_url,并确保您的数据库URL不在“”中。如果是,请卸下“两侧”。
Check your DATABASE_URL in your .env file and make sure your database url is not inside a " ". if it is, remove the " at both sides.
我已经注意到,由于某种原因,如果您使用的是移动热点添加VPN A,则由于某种原因无法在移动热点上工作。
I have noticed it doesnt work on mobile hotspot for some reason if you are using mobile hotspot add vpn a it should work fine.