Drupal生产站点访问问题
当我将 Drupal 7 网站从开发服务器迁移到产品服务器时,我无法访问该网站。 我遵循的步骤是:
- 获取数据库的 SQL 转储
- 将 Drupal 站点上传到在线可用的 www/ 文件夹
- 中 在网站上创建同名数据库
- 导入开发数据库的 SQL 转储并在实时数据库上重新创建表。
- 对 settings.php 进行更改(适用)
现在我不确定对 settings.php 进行哪些更改(适用)。但是,当我尝试访问我的网站 examplesite.com 时,会显示 SQLSTATE[280000] Access Denied for user 'siteadmin@localhost' using password: YES
siteadmin@localhost 与在我的开发网站上担任管理员的人是同一个人并具有相同的密码。
所以我不确定为什么相同的登录凭据不适用于我的开发网站。
我还尝试了访问网站控制面板所需的凭据,但它们似乎也不起作用,
我在这里错过了一个技巧吗?
谢谢!
I am unable to get access to my Drupal 7 website as I migrate it from my dev to prod servers.
The steps I followed are :
- Take a SQL dump of the database
- Upload Drupal site into the www/ folder available online
- Create database on website with the same name
- Import the SQL dump of the dev database and recreate the tables on the live database.
- Make changes to settings.php as applies
Now I am not sure what changes to settings.php as applies indicates. However, when I try and access my site at say examplesite.com , I am shown SQLSTATE[280000] Access denied for user 'siteadmin@localhost' using password: YES
siteadmin@localhost is the same guy who acts as administrator on my development website and has the same password.
SO I am not sure why the same login credentials do not work for my dev site.
I also tried the credentials I have to access the control panel of my website but they do not seem to work either
Am I missing a trick here guys?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
重新检查您的 settings.php 两次
如果正确,请检查您是否可以使用这些凭据直接访问数据库(例如通过命令行或 phpmyadmin)
Recheck your settings.php twice
If correct, check if you can have a direct access your database with these credentials (via command line or phpmyadmin for example)