SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

后端 未结 3 879
终归单人心
终归单人心 2020-12-18 16:59

I´m working with symfony 2.1.2, FOSuserBundle, SonataAdminBundle, SonataUserBundle and SonataMediaBundle. The problem is that I cannot access to my database and get this err

3条回答
  •  醉梦人生
    2020-12-18 17:26

    For all who have this problem, just try to clear the cache:

    php bin/console cache:clear
    

提交回复
热议问题