postgreSQL ubuntuでのインストール使用
539 ワード
# postgreSQL 9.1 ubuntu 12.04
sudo apt-get install postgresql
# postgres
sudo passwd postgres
# postgres
sudo su postgres
psql postgres
# postgres ( linux )
ALTER USER postgres with PASSWORD 'password'
#
\q
#
psql -U postgres -h 127.0.0.1
#
createuser -drSP fw
createdb -O fw mydb
#
sudo apt-get install pgadmin3