phpmyadmin备份mysql数据库,如何使用PHPMyAdmin备份整个数据库

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!

解决方案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".

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值