mysql localhost以外からの接続
localhost以外からの接続
grant all privileges on databasename.* to root@'192.168.1.0/255.255.255.0' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
localhost以外からの接続
grant all privileges on databasename.* to root@'192.168.1.0/255.255.255.0' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;