mysql:mysql_secure_installation
                差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
| mysql:mysql_secure_installation [2013/06/12 07:09] – 外部編集 127.0.0.1 | mysql:mysql_secure_installation [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | * set_root_password | + | ====== mysql_secure_installation ====== | 
| - | UPDATE mysql.user SET Password=PASSWORD(' | + | |
| - | * remove_anonymous_users | + | Set root password? [Y/n] | 
| - | DELETE FROM mysql.user WHERE User=''; | + | > UPDATE  | 
| - | * remove_remote_root | + | Remove anonymous users? [Y/n] | 
| - | DELETE FROM mysql.user WHERE User='root'  | + | > DELETE FROM mysql.user WHERE User=''; | 
| - | * remove_test_database | + | Disallow root login remotely? [Y/n] | 
| - | DROP DATABASE test; | + | > DELETE FROM mysql.user WHERE User='root'  | 
| - | DELETE FROM mysql.db WHERE Db='test'  | + | |
| - | * reload_privilege_tables | + | Remove test database and access to it? [Y/n] | 
| - | FLUSH PRIVILEGES; | + | > DROP DATABASE test; | 
| + | > DELETE FROM mysql.db WHERE Db=' | ||
| + | |||
| + | Reload privilege tables now? [Y/n] | ||
| + | > FLUSH PRIVILEGES; | ||
mysql/mysql_secure_installation.1371020984.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)
                
                