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
トラックバック











