gpt4 book ai didi

mysql - rake db:迁移 rake 中止! Mysql2::错误:用户 'simple_cms' @'localhost' 的访问被拒绝(使用密码:是)

转载 作者:行者123 更新时间:2023-11-30 22:12:35 25 4
gpt4 key购买 nike

Database.yml

当我从我的 simple_cms/运行 rake db:migrate 时

我收到这个错误。

rake db:migrate rake aborted! Mysql2::Error: Access denied for user 'simple_cms'@'localhost' (using password: YES)

我遵循了前面问题中概述的一些步骤。我似乎无法弄清楚。

最佳答案

拒绝用户 '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.

关于mysql - rake db:迁移 rake 中止! Mysql2::错误:用户 'simple_cms' @'localhost' 的访问被拒绝(使用密码:是),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39584064/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com