AnubhavDutta / SupplyChainDAPP_FULL

Other
93 stars 56 forks source link

Issues while trying to login from the browser #11

Open wardaddy4645 opened 1 year ago

wardaddy4645 commented 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.

YashHarale commented 5 months ago

try to setup password of your mysql database in connectdb.php and the phpmyadmin and the error will be solved.