mysql でユーザー登録

mysql でユーザー登録。 (Windows10, xampp V3.2.2)

MariaDB [mysql]> create user 'phin'@'localhost' identified by 'loda';
Query OK, 0 rows affected (0.00 sec)

MariaDB [mysql]> show grants for 'phin'@'localhost';
+-------------------------------------------------------------------------------------------------------------+
| Grants for phin@localhost                                                                                   |
+-------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'phin'@'localhost' IDENTIFIED BY PASSWORD '*****************************************' |
+-------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

MariaDB [mysql]> GRANT ALL PRIVILEGES ON `mydb`.* TO 'phin'@'localhost' IDENTIFIED BY 'loda' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

MariaDB [mysql]>

何かの間違いがあったら削除。

drop user 'phin'@'localhost';