フルスタックチャンネル
サインアップサインアップ
ログインログイン
利用規約プライバシーポリシーお問い合わせ
Copyright © All rights reserved | FullStackChannel
解決済
postgresqlへ接続出来ない
Django
増田new
2022/08/14 15:33

実現したいこと

sqliteからpostgresqlへDBを替えたい

発生している問題

動画通りに
sudo apt install postgresqlを入力すると。
password?
色々試したがこれが分からない。
sudo: 3 incorrect password attemptsが表示される。

ソースコード

自分で試したこと

appleのpasswordを入力すると。
The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.
Please visit http://www.java.com for information on installing Java.

補足情報

回答 2件
login
回答するにはログインが必要です
増田new
約3年前

$ brew update
$ brew install postgresql

で解決しました。
ありがとうございました!!

1
はる@講師
約3年前

動画はLinuxのUbuntu環境なので、MacでPostgreSQLをインストールする場合はbrewコマンドを使ってみてください。

参考に
https://zenn.dev/nevil/articles/7a606da871f1c412a86d