sudo mysql -u root -p (спросит пароль)
create user 'пользователь'@localhost identified by 'пароль';
grant all privileges on *.* to 'пользователь'@localhost;
grant grant option on *.* to 'пользователь'@localhost;
flush privileges;
quit;
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@dektrium/user/views' => '@app/views/user'
],
],
],
]