本文共 790 字,大约阅读时间需要 2 分钟。
*{
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 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!