這裏初始化數據庫是我試圖安裝數據庫(帶有4個短指令很容易遵循):https://github.com/toddwschneider/nyc-taxi-data廣東話對谷歌雲平臺
我以前的git克隆帶來的倉庫到我的虛擬機。接下來我進入它並運行initialize_database.sh。這是發生了什麼:
pic of terminal 我想使用的密碼是我的Bitnami啓動板,它說admin用戶是Postgres的提供的一個,但是當我在它的工作,它說kzherbert,我的谷歌帳戶。我已經嘗試過su postgres,但它不是服務器上的用戶,所以它不能像那樣工作。我可以使用psql -U postgres的postgres密碼,這會將我帶到psql終端。另外,我也嘗試使用我的谷歌帳戶密碼,它不起作用。真正讓我感興趣的是圖片的形狀文件是相關的,爲什麼它重複,並不允許我退出
任何和所有的幫助,非常感謝。
postgres 854 1 0 15:38? 00:00:00 /opt/bitnami/postgresql/bin/postgres.bin -D/opt/bitnami/postgresql/data postgres 856 854 0 15:38? 00:00:00 postgres:checkpointer進程postgres 857 854 0 15:38? 00:00:00 postgres:writer process postgres 858 854 0 15:38? 00:00:00 postgres:沃爾作家進程postgres 859 854 0 15:38? 00:00:00 postgres:autovacuum啓動器進程postgres 860 854 0 15:38? 00:00:01 postgres:stats收集器進程postgres 5949 854 0 17:31? 00:00:19 postgres:postgres postgres 73.237.197.185(60776)idle kzherbe + 6226 5963 0 18:37 pts/0 00:00:00 grep post –
這些是運行ps -ef | grep「後」檢查服務器基於這個職位:http://stackoverflow.com/questions/30095546/postgresql-weird-error-could-not-connect-to-database-template1-could-not-conne –