前几天,我在终端的本地数据库上使用MySQL。但是,当我第二天重新启动并尝试使用它时,我会得到与MySQL相关的所有内容的以下错误。mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost'
我已经使用--skip-grant-tables选项登录到MySQL。但我不知道如何将所有权限返回给root用户。. * TO 'root'@'localhost';# 1290 - The MySQL server is running with the --skip-grant-tablesoption so it cannot execute this statementGRANT ALL PRIVILEGES ON * . *