2013年5月23日 星期四

更改DNS對應IP,移機後的Drupal無法啟動


查詢網路發現可能是cache沒有清除乾淨
---
drupal 可以用phpmyadmin清除的資料表
Which Drupal tables are safe to manually clear using phpmyadmin?

In my experience, I purge all of the "cache_*" tables.
cache
cache_*


plus "watchdog" if I don't care about past Drupal logs
plus "accesslog" if I don't care about logged-in users
plus "search" if I don't care about indexed nodes contents

boost_cache
boost_cache_relationships

----
原來問題是  drupal_test/phpBB3/config.php 裡面有資料庫設定錯了
因為當初是用IP設定連結的Orz

----
要找出這個問題可以用字串搜尋的方式
方式很多,比方像是:

linux搜尋特定字串的指令

grep -r "STRING" /path
find /path -type f | xargs grep "STRING"
----



沒有留言: