node.js - 如何将节点项目与 postgresql 链接?
问题描述
我使用https://github.com/javieraviles/node-typescript-koa-rest设置我的应用程序,然后添加 babel、objection、knex、pg。我想在没有错误的情况下开始我的项目。
我收到此错误
TypeORM connection error: error: password authentication failed for user "user".
如何设置我的项目并管理用户和数据库?
解决方案
推荐阅读
- javascript - 使用 Javascript 启动网络流到本地 VLC 媒体播放器软件
- mongodb - 在 aws documentdb 中删除连接
- node.js - 过滤器 geo_distance 不适用于嵌套对象
- c# - C# - Web API(外键)
- android - 如何使用 Google 登录在 Firebase 中更新 Google 电子邮件?
- reactjs - 在 React 中使用图片标签而不在浏览器中加载过多的数据
- c# - 是否可以获得 ILogger 的当前 LogLevel?
- django - 端口转发已配置,netstat 说端口已打开但无法访问服务器(ping 失败)
- c - C、调用fread时消除循环?
- reactjs - 无法使用 React.js create-react-app 自动刷新