MySql構成変更によるリモート接続の許可
387 ワード
rootログイン
mysqlデータベースに切り替え
userテーブルの表示
ipを追加
物覚えがいいのは下手な筆頭に及ばない~~
mysqlデータベースに切り替え
use mysql;
userテーブルの表示
select user,host from user;
ipを追加
grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by " ";
または(%はすべてのipを許可する)grant all privileges on *.* to root@"%" identified by " ";
flush privileges;
物覚えがいいのは下手な筆頭に及ばない~~