I occered this trouble when used mysql-connector of python. but I could solve it. so I inturoduce how to solve the trouble shoot. ProgrammingError: **** (*****): Access denied for user ...
mysqli.default_host ='localhost' Default user for mysql_connect () (doesn't apply in safe mode): mysqli.default_user ='root' Default password for mysqli_connect () (doesn't apply in safe mode): Note: ...
Have you recently upgraded MySQL from a 4.0x version ? Then you should try setting your password again using the function OLD_PASSWORD ().<BR><BR>This also might be a result of an incorrect hosts file ...