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

前端 未结 9 2439
借酒劲吻你
借酒劲吻你 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 13:58

    For security reason mysql -u root wont work untill you pass -p in command so try with below way

     mysql -u root -p[Enter]
     //enter your localhost password
    

提交回复
热议问题