Создать пользователя mysql с правами на БД

GRANT ALL PRIVILEGES ON db.* TO 'dbuser'@'localhost' IDENTIFIED BY 'dbpassword' WITH GRANT OPTION;