這是我的第一個VPS和第一個鐵軌項目。Postgres數據庫說數據庫存在,但我不能Alter所有者
裏面的Postgres控制檯:
postgres=# \list
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------------+----------+----------+-------------+-------------+-----------------------
blog_production | blog | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
postgres=# ALTER DATABASE blog_development OWNER TO watashi;
ERROR: database "blog_development" does not exist
怎樣纔不是當它明明就是名單上的存在嗎?我怎樣才能放棄這個數據庫?如果我可以傷害我的VPS?
鏈接的網站是:www.morningharwood.com 它不出錯,直到www.morningharwood.com/works
它需要一個semicolen –