Ich hatte auch das gleiche Problem.
Die Lösung, die für mich funktioniert hat
Createein neuer BenutzerGrantdiese neuen Benutzerrechte Ihrer Datenbank :
create user '<new_user_name>'@'localhost' identified by '<new_user_password>';
grant all privileges on <your_db_name>.* to '<new_user_name>'@'localhost' identified by '<new_user_password>';