PostgreSQL

PostgreSQLのJDBCドライバ

PostgreSQLのJDBCドライバのダウンロード先 http://jdbc.postgresql.org/download.html JDBCドライバ JDK JDBC2 JDK1.2 or 1.3 JDBC 2EE JDK1.3 + J2EE JDBC3 JDK1.4 or 1.5 JDBC4 JDK1.6

[DB::PostgreSQL]自動起動の設定

PostgreSQLの自動起動の設定方法1. rootユーザになる # su - 2. 起動スクリプトを作成する /etc/init.d/直下に起動スクリプト(pgsql)を作成する # vi /etc/init.d/pgsql 下記を記述する。 #!/bin/sh # # chkconfig: 35 86 15 # description: PostgreSQL PGAC…

[DB::PostgreSQL]起動・停止・ステータスの確認

PostgreSQLサーバーの起動・停止・ステータスの確認方法1. postgresユーザになる # su postgres 2. PostgreSQLを始めて起動する場合は、データベースを初期化する必要がある。 $ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data -E UTF8 --no-locale …

[DB::PostgreSQL]インストール

CentOS 64bitにPostgreSQLのインストールしたときのメモ1. postgresユーザを作成する # useradd postgres # passwd postgres 2. インストールファイルをダウンロードする 日本PosstgreSQLユーザ会の「ソース版のダウンロード」にダウンロード先のリンクが張…