THAO LAM VIET Posted June 26, 2009 Share Posted June 26, 2009 Chào mọi người, cho em hỏi làm cách nào để Full backup Prestashop ạ. Em backup CSDL và copy toàn bộ file từ hosting về nhưng khi Restore thì không thể nào đăng nhập được vào phần Admin. Ai có hướng dẫn hay gì không giúp em với. Link to comment Share on other sites More sharing options...
haylam.vn Posted June 27, 2009 Share Posted June 27, 2009 Bạn tham khảo các cách sauTham khảo Sao lưu cơ sở dữ liệu trong Prestashop1. Cách 1Bạn đăng nhậpBack Office >> Tools >> DB backupCreate new back-upClick vào You can now download the back-up file.2.Sử dụng công cụ backup trong cPanel, DirectAdmin,...3. Sử dụng phpMyAdmin >> ExportThêm tùy chọn Drop tables...Nén file .zip, .gz4. Sử dụng mysqlautobackupDownload về, cấu hình file run, up lên host, chmod theo hướng dẫn và thực hiện sao lưu.5. Sao lưu và khôi phục cơ sở dữ liệu bằng MySQLDumper Link to comment Share on other sites More sharing options...
haylam.vn Posted June 27, 2009 Share Posted June 27, 2009 Để khôi phục lại mật khẩu tài khoản quản trị, bạn có thể1. Sử dụng phpmyadmin (đơn giản)Chọn database của bạnBrowse bảng employeeVí dụ ps_employeeUpdate trường password mã hóa md5 của bản ghi có id=1 hoặc tài khoản của bạn.2. Tạo file updatepass.php<?$link = mysql_connect('your_host','user','password');mysql_select_db('your_database', $link);$q = "UPDATE `prestashop`.`ps_employee` SET `passwd` = MD5( 'your password' ) WHERE `ps_employee`.`id_employee` =1 LIMIT 1 ;";mysql_query($q);mysql_close($link);?>upload lên host của bạn và chạy file này. Link to comment Share on other sites More sharing options...
THAO LAM VIET Posted June 27, 2009 Author Share Posted June 27, 2009 Thank toanquyen.comChúc anh may mắn + happy. I will apply it now. Link to comment Share on other sites More sharing options...
THAO LAM VIET Posted June 27, 2009 Author Share Posted June 27, 2009 Vấn đề password không làm việc, nó vẫn báo invalid password, em sửa trường paswd trong PHPmyadmin, và nó báo edit successfully Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now