感謝依夢兒,我這就去試試~
我使用那個script遇到一個問題:
代碼: 選擇全部
Warning: Access denied for user: 'xxxx@cgi-bin.spaceports.com' (Using password: YES) in /home3/xxxx/public_html/restore_dump.php on line 41
Warning: MySQL Connection Failed: Access denied for user: 'xxxx@cgi-bin.spaceports.com' (Using password: YES) in /home3/xxxx/public_html/restore_dump.php on line 41
Access denied for user: 'xxxx@cgi-bin.spaceports.com' (Using password: YES)
是不是host部份設定有誤?我該設成localhost就好還是我使用的spaceports空間,這樣有誤嗎?
另外database我設成我的名稱xxxx就可以了嗎?
我設成localhost以後,似乎可以還原,但是過程中前面幾頁會出現:
代碼: 選擇全部
Warning: fopen("restore_log.txt", "a") - Permission denied in /home3/xxxx/public_html/restore_dump.php on line 106
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home3/xxxx/public_html/restore_dump.php on line 107
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home3/xxxx/public_html/restore_dump.php on line 108
不知道是什麼問題,感謝~