79406796

Date: 2025-02-02 14:56:09
Score: 1
Natty:
Report link

The error might be on parameter password instead of passwd

mysq = mysql.connector.connect(user = 'root',password = 'manager',host = 'localhost', database = 'krishna')

I think it is better to print(mysq) as well to check the output.

You can check this https://www.w3schools.com/python/python_mysql_select.asp for reference

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: firespark