Skip to content

Connect to database with unix socket #1557

Answered by kcrazy
kcrazy asked this question in General
Discussion options

You must be logged in to vote

solved by this way

./node_modules/.bin/sequelize db:migrate --config db_config.json 
{
        "username": "outline",
        "password": null,
        "database": "outline",
        "host": "/var/run/postgresql",
        "logging": false,
        "dialect": "postgres",
        "ssl": false,
        "dialectOptions": {
                "ssl": false
        },
        "operatorsAliases": false
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kcrazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1557 on September 17, 2020 15:33.