Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js can';t迁移postgres woth sequelize db:migrate_Node.js_Postgresql_Express_Sequelize.js - Fatal编程技术网

Node.js can';t迁移postgres woth sequelize db:migrate

Node.js can';t迁移postgres woth sequelize db:migrate,node.js,postgresql,express,sequelize.js,Node.js,Postgresql,Express,Sequelize.js,我无法将模型迁移到PostgreSQL。我尝试使用sequelize db:migrate,但输出如下: Loaded configuration file "config\config.json". Using environment "development". ERROR: connect ETIMEDOUT 192.168.11.98:5432 如何解决此问题?您的数据库是否可以通过192.168.11.98和5432端口从尝试运行迁移的计算机

我无法将模型迁移到PostgreSQL。我尝试使用sequelize db:migrate,但输出如下:

Loaded configuration file "config\config.json".
Using environment "development".

ERROR: connect ETIMEDOUT 192.168.11.98:5432

如何解决此问题?

您的数据库是否可以通过192.168.11.98和5432端口从尝试运行迁移的计算机访问?您是否尝试通过类似DBeaver的方式访问它?Show
config.json
用某种方式替换密码