itoigawabass

itoigawaのブログ

Mysql インストール後

2008-09-18

# cp /src/mysql-5.0.67/support-file/my-mideum.cnf /etc/my.cnf
# vi /etc/my.cnf
[mysqld]
user = mysql ;追加
# bin/mysql_install_db --user=mysql
# bin/mysqld_safe --user=mysql &
自動起動
# cp /src/mysql-5.0.67/support-file/mysql.server /etc/init.d/mysql
# chmod 755 /etc/init.d/mysql
# /etc/init.d/mysql start
# chkconfig mysql on
匿名ユーザーを削除
mysql roor パスワードを設定

カテゴリー:blog
タグ: