dxps / rust_playground

Rust Language Playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

todo_actix > Cannot connect to Pgdb

dxps opened this issue · comments

@DEVisions
In todo_actix, it cannot connect to the database:

thread 'actix-rt:worker:0' panicked at 'Error getting db connection: Backend(Error { kind: Connect, cause: Some(Os { code: 2, kind: NotFound, message: "No such file or directory" }) })', src/libcore/result.rs:1188:5

Todo: test a simple deadpool-postgres setup.

This was just a config issue.