tasks】PHPでつくった携帯用スケジューラ【mobile】
■ このスレッドは過去ログ倉庫に格納されています
0134名無しさん@お腹いっぱい。
04/06/07 22:56ID:Wih/fnrgmysqlとapacheとphpはインストール済みとして話を進める:
tasks.zipをダウソ
解凍してwebにうp (tasksのディレクトリでうpしたと仮定)
config.phpを編集(適当にURLあわせたり、japaneseにしたり)
database.phpを編集 こんな感じに
$database->server = "localhost";
$database->database_name = "tasks";
$database->table_name = "tasks";
$database->username = "task";
$database->password = "password";
自鯖での話し:
http://自鯖URL/tasks/create_database.phpにアクセス
The database table should be set up now.
これ以外のエラーだったら
#mysqladmin create tasks
#mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12274 to server version: 3.23.58-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> grant select,insert,update,delete,create on tasks.* to tasks@localhost identified by 'password';
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
こんな感じにやって再度create_database.phpにアクセス。"The database table should be set up now."
って出たら、あとはhttp://自鯖URL/tasks/index.phpにアクセスすれば使える。
とんでもない間違いや勘違いやってたらスマソ。
■ このスレッドは過去ログ倉庫に格納されています