I’m encountering an issue with my PHP code that involves connecting to a MySQL database using MySQLi. The error message I’m getting is:
Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in D:xampphtdocsconfig
but my code works on other PCs except mine.
I tried fixing the configs, changing ports, using different browsers, reinstalling xampp, delete and paste the codes but nothing is working.
user20484475 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.