■ データベースの作成と権限付与
mysql> create database `db.dot.test`;
mysql> grant all privileges on `db.dot.test`.* to 'user'@`10.1.1.0/255.255.255.0` identified by 'password' with grant option;
■ パスワードを変更する場合
mysql> set password for 'user'@`10.1.1.0/255.255.255.0` = password('password123');