2010-10-20から1日間の記事一覧

Postgresqlちょっと使ってみた

とりあえずpostgresユーザになる hide@Ubuntu10:~$ su - postgres mydbていう名前のデータベースを作る postgres@Ubuntu10:~$ createdb mydb 作ったデータベースに接続する postgres@Ubuntu10:~$ psql mydb testていう名前のテーブルを作る mydb=# create ta…

UbuntuにPostgresqlインストールした

UbuntuにPostgresqlインストールした。やり方メモ。 hide@Ubuntu10:~$ sudo apt-get install postgresql hide@Ubuntu10:~$ sudo passwd postgres こんだけ。