Install mysql in CentOS1.6

From http://blog.mizoshiri.com/archives/166

# yum -y install mysql-server

Change the character sets

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
#aracter-set = utf8←コメントアウト+
default-character-set=utf8←追加

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

default-character-set=utf8←追加

Start

sudo mysql_install_db
sudo /usr/bin/mysqld_safe
sudo /etc/rc.d/init.d/mysqld start &