this is happening to me while installing PrestaShop 1.7 on my localhost using PHP 8 and xamp 3.2.4. I have tried creating an user and password to access my db also differents db names and still gives me this error. I tried even installing and old version of PrestaShop (1.6) and still the same.
Cant find much info about this on the web. Seems to be a new error but if everyone has some insight I take it.
Cheers
