如何使用PHPMyAdmin备份整个数据库 [英] How to Backup Whole Database using PHPMyAdmin

查看:448
本文介绍了如何使用PHPMyAdmin备份整个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用PHPMyAdmin备份整个数据库(表,视图,例程),但是我只有表.我已经选择了一些选项,例如:
-添加拖放表/视图/过程/功能/事件
-添加创建过程/功能/事件

请任何人告诉我如何使用PHPMyAdmin备份整个数据库吗?

我使用:
-Apache/2.2.17(Ubuntu)
-MySQL:5.1.54
-PHPMyAdmin:3.3.10deb1

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!

推荐答案

首先打开phpMyAdmin.

在菜单中单击导出"以备份您的MySql数据库.

确保已选择导出整个数据库,而不仅仅是一个表.

选择"SQL"->对于输出格式,请检查结构"和添加AUTO_INCREMENT"值.选中用反引号引起来的表和字段名称".检查"DATA",检查使用十六进制表示二进制字段".导出类型设置为"INSERT".

选中另存为文件",不要更改文件名,如果需要,请使用压缩.然后单击开始".
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".


这篇关于如何使用PHPMyAdmin备份整个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆