psql: error: could not connect to server: FATAL: Peer authentication failed for user code example
Example: ubuntu psql: error: FATAL: Peer authentication failed for user
local all postgres md5
local all postgres md5