====== 06 MySQL パスワードなしログイン ====== ===== 1. /root/.my.cnf用意 ===== # cat > /root/.my.cnf [client] host=localhost user = root password = hogehoge [mysqladmin] host=localhost user = root password = hogehoge ===== 2. パーミッション変更 ===== # chmod 600 /root/.my.cnf {{tag>mysql}}