dbmanage php,index.php
发布日期:2022-02-03 15:25:05 浏览次数:11 分类:技术文章

本文共 790 字,大约阅读时间需要 2 分钟。

DbManager

*{

margin: 0;

padding: 0;

}

body{

font-size: 12px;

font-family: '微软雅黑';

color: #666;

}

.dbDebug{

}

.dbDebug .err{

color: #f00;

margin: 0 5px 0 0;

}

.dbDebug .ok{

color: #06f;

margin: 0 5px 0 0;

}

.dbDebug b{

color: #06f;

font-weight: normal;

}

.dbDebug .imp{

color: #f06;

}

/**

* Created by yanue.

* User: yansueh

* Date: 12-10-27

* Time: 上午11:24

* To change this template use File | Settings | File Templates.

*/

require 'DbManage.class.php';

//------1. 数据库备份(导出)------------------------------------------------------------

//分别是主机,用户名,密码,数据库名,数据库编码

$db = new DBManage ( 'localhost', 'root', '', 'eda', 'utf8' );

// 参数:备份哪个表(可选),备份目录(可选,默认为backup),分卷大小(可选,默认2048,即2M)

//$db->backup ('','','');

$db->restore ( './backup/20121027194215_all_v1.sql');

?>

一键复制

编辑

Web IDE

原始数据

按行查看

历史

转载地址:https://blog.csdn.net/weixin_35600779/article/details/116149602 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:oracle查字段中的某一个数据,解析如何查看Oracle数据库中某张表的字段个数
下一篇:oracle 11gr2版本gi新增组件,Oracle 11gR2 GI安装时的等效性问题

发表评论

最新留言

很好
[***.229.124.182]2024年04月08日 19时38分55秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章