psql數據庫運行數據報錯:
psql: FATAL: role “username” does not exist
由於當前的用戶爲“username”
解決方案:
sudo -s -u postgres
把當前用戶切換成postgres,運行就沒有問題了
psql數據庫運行數據報錯:
psql: FATAL: role “username” does not exist
由於當前的用戶爲“username”
解決方案:
sudo -s -u postgres
把當前用戶切換成postgres,運行就沒有問題了