「インストール/準備」の編集履歴(バックアップ)一覧はこちら

インストール/準備」(2008/01/20 (日) 12:38:11) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

#contents **データベース PostgreSQLを使って、eZ Publish用データベースを作成 **PostgreSQLのDBユーザとDBを作成 +postgresユーザでログインする。(あるいはroleが作成できデータベースが作成できる権限を持つユーザ) $ psql -h <psql_host> -p <port> -U <psql_user> -W Note that if PostgreSQL is installed on the same server, the ”-h” parameter can be omitted. If the ”-p” parameter is omitted, the default port for PostgreSQL traffic will be used (in most cases, port 5432). The PostgreSQL client will ask you to specify the password that belongs to the <psqluser>. If the password is correct, the client should display a ”<psql user>=#” prompt. +Create a new database: postgres=# CREATE DATABASE <database> ENCODING=’utf8’; +Create a new user: postgres=# CREATE USER <user> PASSWORD ’<password>’; + Grant access permissions: postgres=# GRANT ALL PRIVILEGES ON DATABASE <database> TO <user>; +Import the ”pgcrypto” module into the new database: postgres=# \c <database> <database>=# \i ’<path_to_pgcrypto>’
#contents **データベース PostgreSQLを使って、eZ Publish用データベースを作成 **PostgreSQLのDBユーザとDBを作成 -postgresユーザでログインする。(あるいはroleが作成できデータベースが作成できる権限を持つユーザ) $ psql -h <psql_host> -p <port> -U <psql_user> -W -- Note that if PostgreSQL is installed on the same server, the ”-h” parameter can be omitted. -- If the ”-p” parameter is omitted, the default port for PostgreSQL traffic will be used (in most cases, port 5432). --The PostgreSQL client will ask you to specify the password that belongs to the <psqluser>. --If the password is correct, the client should display a ”<psql user>=#” prompt. -Create a new database: postgres=# CREATE DATABASE <database> ENCODING=’utf8’; -Create a new user: postgres=# CREATE USER <user> PASSWORD ’<password>’; - Grant access permissions: postgres=# GRANT ALL PRIVILEGES ON DATABASE <database> TO <user>; -Import the ”pgcrypto” module into the new database: postgres=# \c <database> <database>=# \i ’<path_to_pgcrypto>’

表示オプション

横に並べて表示:
変化行の前後のみ表示:
記事メニュー
目安箱バナー