1 頁 (共 1 頁)

[問題]無法還原資料

發表於 : 2007-07-31 09:59
chrislin2k
●免費空間連結: http://www.netfast.org
●您的上網方式:SHAW CABLE
●您的 phpBB2 版本:phpBB 2.0.22
●您的 phpBB2 連結網址: http://chrislin2k.netfast.org/portal.php
●錯誤代碼:
小弟在還原資料的時候出現下面的問題:

代碼: 選擇全部


Error importing backup file

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '# DROP TABLE IF EXISTS phpbb_auth_access' at line 1

# DROP TABLE IF EXISTS phpbb_auth_access

Line : 980
File : admin_db_utilities.php
前一段時間netfast公司更新過. 會不會是因為這個原因才無法還原資料庫呢?
請問一下該如何修復呢?

Re: [問題]無法還原資料

發表於 : 2007-07-31 18:29
心靈捕手
chrislin2k 寫:●免費空間連結: http://www.netfast.org
●您的上網方式:SHAW CABLE
●您的 phpBB2 版本:phpBB 2.0.22
●您的 phpBB2 連結網址: http://chrislin2k.netfast.org/portal.php
●錯誤代碼:
小弟在還原資料的時候出現下面的問題:

代碼: 選擇全部


Error importing backup file

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '# DROP TABLE IF EXISTS phpbb_auth_access' at line 1

# DROP TABLE IF EXISTS phpbb_auth_access

Line : 980
File : admin_db_utilities.php
前一段時間netfast公司更新過. 會不會是因為這個原因才無法還原資料庫呢?
請問一下該如何修復呢?
建議您:
檢視備份檔 *.sql 將 '#' 移除.
#
#-----[ FIND ]-----
#

代碼: 選擇全部

# DROP TABLE IF EXISTS phpbb_auth_access
#
#-----[ REPLACE WITH ]-----
#

代碼: 選擇全部

DROP TABLE IF EXISTS phpbb_auth_access

發表於 : 2007-08-01 10:20
chiouss

代碼: 選擇全部

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '# DROP TABLE IF EXISTS phpbb_auth_access' at line 1
line1? 你 sql 是不是存成了有加 BOM 的 utf8 阿?

發表於 : 2007-08-02 21:37
chrislin2k
沒有耶~ 之前都好好的
但是突然就出現這個問題 ><
希望哪位大大可以幫幫我