mysqlでユーザーを作成する場合はsqlの create user, grantコマンドを実行します。
以下はユーザー名"user01",パスワード"password"でデータベースのユーザーを作成します。
下記のコマンドを実行することでデータベースのユーザーの作成ができます。
c:\> mysql -u root -p
Enter password: (パスワードを入力)
mysql> grant select,insert,delete,update,create,drop,file,alter,index on *.* to user01 identified by 'password';
mysql> flush privileges; /*←権限テーブルを再読み込みする*/
mysql> exit
Bye
c:\> exit
Maria DBの場合はこちらの記事を参照してください。