我删除编号为5的行号5,然后添加另一行,但编号为6的行具有AUTO_INCREMENT。我在phpmyadmin的“操作”中将auto_increment调整为5,但是当我回到应用程序时出现此错误
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (SQL: select * from `users` where `id` = 2 limit 1) (View: C:\xampp\htdocs\lsapp\resources\views\inc\navbar.blade.php) (View: C:\xampp\htdocs\lsapp\resources\views\inc\navbar.blade.php) (View: C:\xampp\htdocs\lsapp\resources\views\inc\navbar.blade.php)
答案 0 :(得分:0)
再次检查您的密码,它是phpmyadmin的密码,然后尝试DB_HOST=localhost
和APP_URL=