1。パスワードファイルの設定
デフォルトでは/etc/mysqlmanager.passwdファイルを見にいくので、ここにInstance Manager用のパスワードファイルを作成する。
shell> /usr/local/mysql/bin/mysqlmanager --passwd >> /etc/mysqlmanager.passwd
ユーザ名とパスワードを指定する。ここではユーザ名:manager、パスワード:managerを指定した。
2。設定ファイルの準備
/etc/my.cnfファイルへ、Instance Manager用のエントリを追記する。
こんな感じで。
[manager]
default-mysqld-path=/usr/local/mysql/bin/mysqld
password-file=/etc/mysqlmanager.passwd
log=/Users/hirohama/data/manager.log
run-as-service
socket=/tmp/manager.sock
pid-file=/tmp/manager.pid
port=1999
user=mysql
[mysql]
user=root
prompt=¥u@¥h[¥d]>¥_
port=3306
socket=/tmp/mysql.sock
[mysqld1]
nonguarded
socket=/tmp/mysql1.sock
pid-file=/tmp/mysql1.pid
datadir=/Users/hirohama/data/data1
port=3306
server-id=11
log-bin
log
[mysqld2]
nonguarded
socket=/tmp/mysql2.sock
pid-file=/tmp/mysql2.pid
datadir=/Users/hirohama/data/data2
port=3307
server-id=12
log-bin
log
3。Instance Managerの起動
/usr/local/mysql/bin/mysqlmanager
4。Instance Managerへ接続して各mysqldを起動する
/usr/local/mysql/bin/mysql --user=manager --password=manager --socket=/tmp/manager.sock
http://www.zmanda.com/blogs/?p=19
The maximum permitted size of any one row is 8KB. Note that each
BLOBorTEXTcolumn contributes a maximum of 256 bytes towards this total.
http://dev.mysql.com/doc/refman/5.0/en/mysql-cluster-limitations.html
Then, can MySQL Cluster store more than 65,000 Japanese characters in one column? I will check it later...
At the Interop, the most popular IT conference in Tokyo, we exhibited our MySQL services at the small booth.
Visitors seem to be interested in our demonstration, -fulltext search in Japanese, with senna-, but their insters are mainly from technical point of view.
On the other hand, some picked only MySQL Cluster leaflet among other stuffs, and I recognized interests from chatting.
Interopは3日目のブース来場者が凄かった。1,2日目の2倍必要だったね。
うちのコンパニオンのお姉さんは、一人だけ配りまくりで説明もしちゃう人がいてびっくり。残りの人は「配るだけ」で、普通はこんなもんなのだけど。
うろうろしたのは2日目。後輩に30分くらいで、コンパニオンにお姉さんの制服を一通り案内してもらった。確かにヘソ出しはいいっすね。
市場にも出回ってきた模様。
(日本語版にあらず。)
そして、本日InteropのVodafoneコーナーでNOKIA E61を触ってきました。
メールは、「nifty」の設定があらかじめ入っている様子。
これ、流行るかな~。
もっとも、予定通り秋に発売された暁には是非購入したいのだけど。
日本人にも関わらず、英語で書いてる人が多いけど、英語にしてしまうと自分は ほとんど更新しなくなりそう。。。
ひとまず日本語で書き始めてみようかと。