How to import a database backup with phpMyAdmin / วิธีการนำเข้าไฟล์ฐานข้อมูลสำรองด้วย phpMyAdmin

How can I import a database backup (SQL file) into my website?

1. Log in to the Control Panel (my.codeorange.co.th).
2. Then choose the domain where you want to use the database and choose "Database management" and then "view Database (s)."         
3. A new window opens, asking you for the database login details.          
4. Enter the information you have received in the e-mail with order details (listed under the heading MySQL Database).         
5. After logging in you are in the database management environment (phpMyAdmin). 
6. Choose one of the database in the left part of your screen, for example the first one. Tip: Behind each database is the number of tables already present. If nothing is left behind, the database is still empty and you can use it safely.         
7. After you have selected a database, click on "Import" at the top left of your screen.          
8. Then click on browse to select the database file. This can be a .SQL file, but you can also select a packed file (.tar.gz), which is then automatically first unpacked for you.
9. Then click on start, and if all goes well after a short wait (especially if you import a large database, this may take some time) all tables that have been imported will appear on the left. If you encounter error messages, your database may be too large to be imported manually, or your user may not have enough rights to the database. In that case, please contact us and we will gladly solve it for you!

สำหรับภาษาไทยดังนี้

วิธีการนำเข้าไฟล์ฐานข้อมูลสำรอง (ไฟล์ SQL) มายังเว็บไซต์ของท่าน สามารถทำได้ดังนี้
  1. เข้าสู่ระบบไปยัง Control Panel (my.codeorange.co.th)
  2. เลือกโดเมนที่ท่านต้องการใช้ฐานข้อมูล และทำการเลือกที่ "database management" และเลือก "View Database"    
  3. หน้าต่างใหม่จะถูกเปิดขึ้นมาเพื่อให้ท่านทำการเข้าสู่ระบบฐานข้อมูล          
  4. กรอกข้อมูลที่ได้รับจากทางอีเมลที่ถูกส่งมาภายใต้หัวข้อ MySQL database
  5. หลังจากเข้าสู่ระบบเรียบร้อยแล้ว ท่านจะเข้าวู่หน้าการจัดการฐานข้อมูลใน phpMyAdmin
  6. เลือกฐานข้อมูลที่ท่านต้องการทางด้านซ้ายของหน้าต่าง
  7. หลังจากทำการเลือกฐานข้อมูลแล้ว ให้คลิกเลือก "Import ทางด้านบนซ้ายของหน้าต่าง
  8. ให้คลิกเลือกที่ "browse" เพื่อทำการเลือกไฟล์ฐานข้อมูลที่ต้องการ อาจจะเป็นไฟล์ SQL หรือไฟล์ที่เป็นชุด เช่น .tar.gz ระบบจะแตกไฟล์ให้อัตโนมัติ
  9. หลังจากนั้นให้คลิกเลือกที่ "Start" การนำเข้าไฟล์ฐานข้อมูลอาจต้องใช้เวลาขึ้นอยู่กับขนาดของไฟล์ฐานข้อมูล หากท่านได้รับข้อความ error อาจเกิดจากไฟล์ฐานข้อมูลที่นำเข้ามีขนาดใหญ่จนเกินไปหรือท่านอาจจะไม่มีสิทธิในการเข้าใช้งานฐานข้อมูลนี้ กรุณาติดต่อเราเพื่อขอความช่วยเหลือ

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.