Open wardaddy4645 opened 1 year ago
when i try to enter the login information for email and password this error shows up:
Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\AuthentiFi\connectdb.php:8 Stack trace: #0 C:\xampp\htdocs\SupplyChainDAPP_FULL\connectdb.php(8): mysqli->__construct('localhost', 'root', 'root', 'supplychain') #1 C:\xampp\htdocs\SupplyChainDAPP_FULL\login.php(30): openConnection() #2 {main} thrown in C:\xampp\htdocs\SupplyChainDAPP_FULL\connectdb.php on line 8
Note: the port for xampp mysql is 3307 while on mysql it is 3306 otherwise it gives blocked error on xampp.
try to setup password of your mysql database in connectdb.php and the phpmyadmin and the error will be solved.
when i try to enter the login information for email and password this error shows up:
Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\AuthentiFi\connectdb.php:8 Stack trace: #0 C:\xampp\htdocs\SupplyChainDAPP_FULL\connectdb.php(8): mysqli->__construct('localhost', 'root', 'root', 'supplychain') #1 C:\xampp\htdocs\SupplyChainDAPP_FULL\login.php(30): openConnection() #2 {main} thrown in C:\xampp\htdocs\SupplyChainDAPP_FULL\connectdb.php on line 8
Note: the port for xampp mysql is 3307 while on mysql it is 3306 otherwise it gives blocked error on xampp.