我一直试图启动气流系统,我遇到了一个问题。我遵循了https://stackoverflow.com/a/48056403/9621172和其他一些帖子中的说明,现在不知何故我无法登录MySQL。我见过一些与帖子相关的文章(无法登录到MySQL,无法登录到MySQL),但我不能按照那里的说明来做。
使用以下命令
sudo mysql -u root
sudo mysql -u ubuntu
sudo mysql
mysql我得到了错误ERROR 1045 (28000): Access denied for user 'root/user'@'localhost' (using password: NO)
即使在用sudo /etc/init.d/mysql stop停止服务器并使用sudo mysqld --skip-grant-tables &启动mysqld配置之后,我也无法再进入数据库。我能做什么?
非常感谢
发布于 2019-10-11 10:55:52
你试过在后面添加-p吗?所以看起来是这样的:
sudo mysql -u root -phttps://askubuntu.com/questions/1180234
复制相似问题