/ 雑記帳

mediatomb メディアの墓

本格的にmediatombを使うためにmysqlのデーターベースで動作するようにした。
デフォルトのsqlite3を使うよりも動作は少し速くなるようです。
引っかかるのはmysqlのデーターベース、ユーザー作成かと思います。
試行錯誤の末、下のようにすると
データベースとlocalhostからのみ接続できる"mediatomb"というパスワードなしの名前のユーザを作成できます。
 
参考リンク:http://www.impressit.co.jp/blog/dev/?p=5
 
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or ¥g.
Your MySQL connection id is 36 to server version: 5.0.22

Type 'help;' or '¥h' for help. Type '¥c' to clear the buffer.
 
mysql> CREATE DATABASE mediatomb;
Query OK, 1 row affected (0.00 sec)
 
mysql> GRANT ALL ON mediatomb.* TO 'mediatomb'@'localhost';
Query OK, 0 rows affected (0.05 sec)
 
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
 
mysql> quit;
Bye

— posted by くま at 10:23 pm   pingTrackBack [0]

この記事に対するコメントはありません

<< 2008.8 >>
SMTWTFS
     1 2
3 456789
10111213141516
17181920212223
24252627282930
31       
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0974 sec.