Good morning,
I just installed xamp 8.1.1 on a new pc just bought.
When I start wordpress
localhost / xxx / wp-admin
Any data I enter, the password is correct, gives me an error
"A critical error has occurred on your website"
Search in file
C: \ xampp \ apache \ logs \ error.log I find written
[Wed Jan 05 20: 10: 50.408402 2022] [php: error] [pid 26016: tid 1812] [client :: 1: 63412] PHP Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root' @ 'localhost' ( using password: YES) in C: \\ xampp \\ htdocs \\ viv \\ wp-includes \\ wp-db.php: 1656 \ nStack trace: \ n # 0 C: \\ xampp \\ htdocs \\ viv \\ wp-includes \\ wp-db.php (1656): mysqli_real_connect (Object (mysqli), 'localhost', 'root', 'root', NULL, NULL, NULL, 0) \ n # 1 C: \ \ xampp \\ htdocs \\ viv \\ wp-admin \\ setup-config.php (310): wpdb-> db_connect () \ n # 2 {main} \ n thrown in C: \\ xampp \\ htdocs \ \ viv \\ wp-includes \\ wp-db.php on line 1656, referer: http: //localhost/viv/wp-admin/setup-config.php? step = 1 & language = it_IT
I can't find the cause of the problem. Do you have any ideas?