Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like to Backup the whole database (tables, views, routines) using PHPMyAdmin, but I've got only tables. I already selected some options such as:
- Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT
- Add CREATE PROCEDURE / FUNCTION / EVENT

Please anyone tell me how to backup the whole database using PHPMyAdmin?

I use:
- Apache/2.2.17 (Ubuntu)
- MySQL: 5.1.54
- PHPMyAdmin: 3.3.10deb1

Thanks!
Posted
Updated 19-Sep-11 16:11pm
v2

1 solution

First of all open the phpMyAdmin.

Click Export in the Menu to get to backup your MySql database.

Make sure that you have selected to export your entire database, and not just one table.

Select"SQL"-> for output format, Check "Structure" and "Add AUTO_INCREMENT" value. Check "Enclose table and field name with backquotes". Check "DATA", check use "hexadecimal for binary field". Export type set to "INSERT".

Check "Save as file", do not change the file name, use compression if you want. Then click "GO".
 
Share this answer
 
Comments
Bun Leap_kh 19-Sep-11 5:10am    
Excuse me, it's still the same. I've got only table.
I don't see "hexadecimal for binary field", but "Use hexadecimal for BLOB";
CodingLover 19-Sep-11 5:38am    
You cannot select all the tables?
Bun Leap_kh 19-Sep-11 22:13pm    
i can!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900