大网数据广告活动
网站运营与故障问答

Where can I find User/pass for SQL in PrestaShop website filesystem?

· 52CE 我爱测

I have just inherited a website from a client who has no idea what their usernames and passwords are for anything. I had to fight the hosts to get access to her files but they are being quite unco-operative in terms of helping me…

问题原文

原帖链接 · Ian Williams · CC BY-SA 3.0

I have just inherited a website from a client who has no idea what their usernames and passwords are for anything. I had to fight the hosts to get access to her files but they are being quite unco-operative in terms of helping me access her database.

I know in other CMS the user/pass for the database is hardcoded in a particular file on the filesystem, but I've never used PrestaShop before and don't know where to start looking.

Does anyone have any advice?

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 3.0

Prestashop has pretty good online documentation and below is a snippet taken from the documentation for version 1.6 and I'm sure that nothing major has changed since 1.6 > 1.7 regarding the database settings file.

SOURCE

There are situations where nothing happens when you request a new password, and it doesn't work. There can be a number of reasons why this would happen, but the important thing is to be able to log in again.

This is will require you to access your database, using phpMyAdmin for instance.

You will have to follow the following procedure:

Open the /config/settings.inc.php file, from your shop's root directory

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。