【问题标题】:Can't access MySQL in command line through user created in phpMyAdmin无法通过在 phpMyAdmin 中创建的用户在命令行中访问 MySQL
【发布时间】:2021-12-20 23:20:02
【问题描述】:

我正在使用Mamp进入phpMyAdmin,并创建了一个用户。我尝试通过命令行访问 MySQL:mysql -u testing -p,然后输入密码。我得到Access denied for user 'testing'@'localhost' (using password: YES)。我也无法通过root访问。任何帮助将不胜感激。

【问题讨论】:

标签: mysql sql phpmyadmin mamp


【解决方案1】:

您必须使用root 用户登录并更改resting 用户权限。你可以看到这篇文章 MySQL: Access denied for user 'test'@'localhost' (using password: YES) except root user

【讨论】:

  • 但我也无法使用 root 登录。我无法通过命令行使用任何用户登录。
猜你喜欢
  • 2014-06-07
  • 2012-10-03
  • 2012-03-05
  • 1970-01-01
  • 1970-01-01
  • 2012-10-17
  • 1970-01-01
  • 1970-01-01
  • 2012-05-22
相关资源
最近更新 更多