PostgreSQL/phpPgAdmin
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
#contents
*インストール
**ダウンロード
-[[phpPgAdmin :: Web Based PostgreSQL Administration Tool...
2003/10/20現在、最新版は3.1。
**解凍・展開
ダウンロードしたファイルが/tmp以下にあるとすると、以下の...
$ tar jxf /tmp/phpPgAdmin-3.1.tar.bz2
当然、HTTPサーバが読んでくれる位置です。今回は、DocumentR...
**設定
できたディレクトリのphpPgAdmin以下にconfディレクトリがあ...
$ cd phpPgAdmin/conf/
$ emacs config.inc.php
編集するのは、$conf['default_lang'] = 'english';という行を
$conf['default_lang'] = 'japanese';
とするだけで、日本語表示になる。また、PostgreSQLが同一サ...
$conf['servers'][0]['host'] = ''; // Hostname or IP add...
の行も適時変更する。
**レポート機能
レポート機能とは、SQL文を登録しておくといつでもそのSQL文...
機能を使うためにまずは、postgresユーザで、ユーザの作成を...
$ su - postgres
Password:
$ createuser phppgadmin
Shall the new user be allowed to create databases? (y/n) n
Shall the new user be allowed to create more new users? ...
CREATE USER
次に、用意されたSQL文を以下のように、postgresユーザで流す...
$ psql -f phpPgAdmin/sql/reports-pgsql.sql www
CREATE DATABASE
You are now connected to database phppgadmin.
psql:phpPgAdmin/sql/reports-pgsql.sql:20: NOTICE: CREAT...
psql:phpPgAdmin/sql/reports-pgsql.sql:20: NOTICE: CREAT...
CREATE TABLE
GRANT
GRANT
これで準備が完了。
*確認
ブラウザで
''http://postgresサーバ/phpPgAdmin/index.php''へアクセス...
#ref(phpPgAdmin01.png)
上記のような画面が現れたら、postgresユーザでログインする...
#ref(phpPgAdmin02.png)
終了行:
#contents
*インストール
**ダウンロード
-[[phpPgAdmin :: Web Based PostgreSQL Administration Tool...
2003/10/20現在、最新版は3.1。
**解凍・展開
ダウンロードしたファイルが/tmp以下にあるとすると、以下の...
$ tar jxf /tmp/phpPgAdmin-3.1.tar.bz2
当然、HTTPサーバが読んでくれる位置です。今回は、DocumentR...
**設定
できたディレクトリのphpPgAdmin以下にconfディレクトリがあ...
$ cd phpPgAdmin/conf/
$ emacs config.inc.php
編集するのは、$conf['default_lang'] = 'english';という行を
$conf['default_lang'] = 'japanese';
とするだけで、日本語表示になる。また、PostgreSQLが同一サ...
$conf['servers'][0]['host'] = ''; // Hostname or IP add...
の行も適時変更する。
**レポート機能
レポート機能とは、SQL文を登録しておくといつでもそのSQL文...
機能を使うためにまずは、postgresユーザで、ユーザの作成を...
$ su - postgres
Password:
$ createuser phppgadmin
Shall the new user be allowed to create databases? (y/n) n
Shall the new user be allowed to create more new users? ...
CREATE USER
次に、用意されたSQL文を以下のように、postgresユーザで流す...
$ psql -f phpPgAdmin/sql/reports-pgsql.sql www
CREATE DATABASE
You are now connected to database phppgadmin.
psql:phpPgAdmin/sql/reports-pgsql.sql:20: NOTICE: CREAT...
psql:phpPgAdmin/sql/reports-pgsql.sql:20: NOTICE: CREAT...
CREATE TABLE
GRANT
GRANT
これで準備が完了。
*確認
ブラウザで
''http://postgresサーバ/phpPgAdmin/index.php''へアクセス...
#ref(phpPgAdmin01.png)
上記のような画面が現れたら、postgresユーザでログインする...
#ref(phpPgAdmin02.png)
ページ名: