Calendar
2003年11月 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            


Categories
Archives

2003年11月 16日

MovableType 、MySQL の設定

カテゴリー: blogをはじめてみよう

MovableType の設定はこちらに事細かに書いてあります。mt.cfg もこちらにある通りに設定。 MySQL を MovableType から扱えるように root パスワードを設定し、「mtblog」などのように DB を作成しておく。

D:\mysql\bin>mysql -u root mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 4.0.18-nt

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

mysql> SET PASSWORD FOR root=PASSWORD('new_password');
Query OK, 0 rows affected (0.04 sec)

mysql> CREATE DATABASE mtblog;
Query OK, 0 rows affected (0.04 sec)

mysql> exit;
Bye

D:\mysql\bin>

MySQL に関して mt.cfg には以下のように追加。

CGIPath http://www.idea-tech.net/mt/
ObjectDriver DBI::mysql
Database mtblog
DBUser root

加えて、mt-db-pass.cgi に DB の root パスワードを記述する。 sendmail は XP Pro で扱えないので、mt.cfg の SendMailPath はコメントアウト。代わりに SMTPServer に so-net SMTP アドレスを追加。

Posted by Gucchiy at 2003年11月16日 16:49
トラックバック
コメント