MySql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

前端 未结 9 2423
借酒劲吻你
借酒劲吻你 2020-12-13 13:19

I\'ve tried multiple solutions from StackOverflow but haven\'t had any success. I\'m on Mac OSX (Sierra 10.12.3) trying to create a new database and user. From terminal I

9条回答
  •  悲哀的现实
    2020-12-13 14:02

    Is it possible the root password is not what you think it is? Have you checked the file /root/.mysql_secret for the password? That is the default location for the automated root password that is generated from starting from version 5.7.

    cat /root/.mysql_secret
    

提交回复
热议问题