ubuntu-server-10-04:mysql
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
ubuntu-server-10-04:mysql [2011/05/27 21:19] – [設定] admin | ubuntu-server-10-04:mysql [2011/05/27 21:28] (現在) – [設定] admin | ||
---|---|---|---|
行 53: | 行 53: | ||
$ sudo service mysql restart | $ sudo service mysql restart | ||
</ | </ | ||
+ | |||
+ | |||
+ | 初期設定コマンドを使う。 | ||
+ | |||
+ | < | ||
+ | $ sudo mysql_secure_installation | ||
+ | </ | ||
+ | |||
+ | * Enter current password for root (enter for none): | ||
+ | * 設定した root のパスワードを入力 | ||
+ | * Change the root password? [Y/n] | ||
+ | * 変更しない n | ||
+ | * Remove anonymous users? [Y/n] | ||
+ | * 匿名ユーザを削除する y | ||
+ | * Disallow root login remotely? [Y/n] | ||
+ | *ネットワークからの root アクセスを拒否する y | ||
+ | * Remove test database and access to it? [Y/n] | ||
+ | * テスト用のデータベースとアクセス権を削除する y | ||
+ | * Reload privilege tables now? [Y/n] | ||
+ | * すぐに設定を適用する y | ||
+ | |||
ubuntu-server-10-04/mysql.1306498798.txt.gz · 最終更新: 2011/05/27 21:19 by admin