2008/06/05 10:49
yum -y install mysql-server
vi /etc/my.cnf
[mysqld] default-character-set = utf8 [mysql] default-character-set = utf8
/etc/rc.d/init.d/mysqld start
/sbin/chkconfig --level 35 mysqld on
/usr/bin/mysqladmin -u root password (パスワード)
mysql -u root -p(パスワード)MySQLにログオン後、匿名ユーザーの削除
delete from mysql.user where user=''必要に応じて不要ユーザーの削除(下記はパスワード未設定のユーザーの削除)
delete from mysql.user where password=''
yum -y install php-mcrypt
cp config.sample.inc.php config.inc.php chmod (XXX) config.inc.php
$cfg['blowfish_secret'] = '(PassPhrase)';
関連記事