I'm making an app with Laravel, and when I try to run a migration, I get this error.
SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' (SQL: create table `migrations` (`id` int unsigned not null auto_increment primary key, `migration` varchar(255) not null, `batch` int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
How can I fix this?