Ho anche affrontato lo stesso problema.
La soluzione che ha funzionato per me
Createun nuovo utenteGrantquesto nuovo utente privilegia il tuo database :
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>';