PHP CRUD operations with MySQL

ERROR: Could not connect. Access denied for user 'root'@'localhost' (using password: YES)
Id Studen Name Grade Marks Edit Delete