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-logType '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 -ADatabase 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 mtuserStaticWebPath 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タグを使っている人がいるけど、どやってやるんでしょ?
あ、続きとかコメントとかのテンプレが変。
コメントする