2006年4月 3日

MySQLの作業

Gentoo サーバーでMovable Typeが使えるようMySQLをセットアップ

gentoo blog # mysql -u root -p Enter password:passwd Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.1.14-log

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

mysql> create database mtdb;
Query OK, 1 row affected (0.39 sec)

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> use mysql;
Database changed
mysql> grant all privileges on mtdb.* to mtuser@localhost identified by 'passwd';
Query OK, 0 rows affected (0.36 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

んでもって、mt-config.cgiに記述

CGIPath http://nns-fact.2y.net/mt/

ObjectDriver DBI::mysql
Database mtdb
DBUser mtuser

StaticWebPath http://nns-fact.2y.net/blog/mt-static

HelpURL http://nns-fact.2y.net/mt/mt-static/docs/

わからんかったのが、初期ユーザーログイン。
何度やってもだめだと思ったら、

User:Melody
Passwd:Nelson

なのね。

ググって初めて知ったよ。http://sixapart.jpに書いてないんだもの。

テンプレートデザインを変更して今日はここまで。

引用するときにTableタグを使っている人がいるけど、どやってやるんでしょ?

あ、続きとかコメントとかのテンプレが変。

トラックバックURL

このエントリーのトラックバックURL:
http://nns-fact.2y.net/mt/mt-tb.cgi/3

コメントする


画像の中に見える文字を入力してください。