我无法登录到最新的自动安装,登录失败



我将音乐与作曲家升级到最新版本,我想登录,但我得到无效的登录。请验证凭证。

我正在使用ddev开发本地所以我尝试了db/db登录…没有什么工作如果我没弄错的话,用户名和密码存储在local.php中…?

该怎么办?

用户名和密码不存储在local.php中,而是存储在mysql db中的users表中。

为了重置它,你应该登录到mysql,连接到你的自动数据库,并运行以下命令:

Type this command: sudo mysql -u root
This will log you into mysql,
then type: show databases;
This will show you your databases, usually Mautic default install uses DB name mautic,
Type: use mautic; (you can replace the name of the database if you have a different name)
Type: select id, username from users;
This will give you a list of users
Type: UPDATE users SET password = “a5b253d8484925a3b4fba260768416dfdcbeaed639bb3435c566cbf54721f846903725c7283cf9ab1f090f179d015f46a50b5e798695547eda6e2342db8918a2” where id = 1; make sure you are using the id of the user you want to update.

您应该可以使用密码12345678登录

最新更新