開発日記

1.4 最後の調整 -- ぱんだ

データベース操作関係のバグfix

注意:データベースを作り直す必要があります。

http://.../pukiwiki.php?plugin=links&adminpass=<pass>

を実行してください。

データベース操作関係を調整しました。

データベース作成手順概略(MySQL/Windows編)

C:\mysql\bin> mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 22 to server version: 3.23.55-nt 

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create table pukiwiki;
Query OK, 1 row affected (0.02 sec)

mysql> use pukiwiki;
Database changed
mysql> create table page (id integer auto_increment primary key, name text not null, lastmod integer not null);
Query OK, 0 rows affected (0.12 sec)

mysql> create table link (page_id integer not null, ref_id integer not null);
Query OK, 0 rows affected (0.07 sec)

mysql> quit
Bye

データベース作成手順概略(PostgreSQL/Red Hat Linux編)

$ createdb pukiwiki
$ psql pukiwiki
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

pukiwiki=# create user apache;
CREATE USER
pukiwiki=# create table page (id serial primary key, name text not null, lastmod integer not null);
NOTICE:  CREATE TABLE will create implicit sequence 'page_id_seq' for SERIAL column 'page.id'
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index 'page_pkey' for table 'page'
CREATE
pukiwiki=# create table link (page_id integer not null, ref_id integer not null);
CREATE
pukiwiki=# grant all on page,link,page_id_seq to apache;
GRANT
pukiwiki=# \q
$

config.phpを調整しました。(PukiWiki/1.4/プラグイン開発を便利に)

pre6に移行しました。

今週一週間様子を見て、新たな問題がなければrc1にします。

define('S_VERSION','1.4pre6');

1.3.4リリース準備(2) 開発日記/2003-02-23以来手付かず

ヘルプはpukiwiki:ヘルプをそのまま使用?


トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-06-26 (木) 01:46:44
Site admin: PukiWiki Development Team

PukiWiki 1.5.4+ © 2001-2022 PukiWiki Development Team. Powered by PHP 8.2.12. HTML convert time: 0.261 sec.

SourceForge