【问题标题】:rake db:migrate rake aborted! Mysql2::Error: Access denied for user 'simple_cms'@'localhost' (using password: YES)rake db:migrate rake 中止! Mysql2::Error: Access denied for user 'simple_cms'@'localhost' (使用密码: YES)
【发布时间】:2017-01-27 18:52:14
【问题描述】:

当我运行 rake db:migrate from my simple_cms/

我收到此错误。

rake db:migrate rake 中止! Mysql2::Error: 拒绝用户访问 'simple_cms'@'localhost'(使用密码:YES)

我已按照前面问题中概述的一些步骤进行操作。我似乎无法弄清楚。

【问题讨论】:

  • 您必须创建一个带有密码的用户...然后将其指定为您的应用程序的所有者

标签: mysql ruby-on-rails database


【解决方案1】:

用户 'simple_cms'@'localhost' 的访问被拒绝(使用密码:YES)

1.) Check login credentials Username and password.
2.) Create another user account to simulate the error.
3.) Use another username and password if necessary.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-07-27
    • 1970-01-01
    • 2021-12-27
    相关资源
    最近更新 更多