Magento installation fails saying “Access denied for user ‘user’@’localhost’ (using password: YES)”
Although the error may talks about Access, it is simple that the password you are using has symbols that Magento doesn’t accept. Magento doesn’t accept many special characters like ! $ etc. So start with a simple 8 character password something like “P@55words”. This even applies to your Magento admin user too.
Updated : 02 Feb 24