-- phpMyAdmin SQL Dump -- version 2.11.9.5 -- http://www.phpmyadmin.net -- -- 主机: localhost -- 生成日期: 2009 年 07 月 05 日 01:34 -- 服务器版本: 5.0.77 -- PHP 版本: 5.2.9-1 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- 数据库: `test_12` -- -- -------------------------------------------------------- -- -- 表的结构 `bt_torrents` -- CREATE TABLE IF NOT EXISTS `bt_torrents` ( `fid` int(10) unsigned NOT NULL default '0', `info_hash` char(40) NOT NULL, `announce_url` longtext NOT NULL, `total_size` bigint(20) unsigned NOT NULL default '0', `snatches` bigint(20) unsigned NOT NULL default '0', `seeders` bigint(20) unsigned NOT NULL default '0', `leechers` bigint(20) unsigned NOT NULL default '0', `downloaded` bigint(20) unsigned NOT NULL default '0', `last_seed` bigint(20) unsigned default '0', PRIMARY KEY (`fid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 导出表中的数据 `bt_torrents` -- INSERT INTO `bt_torrents` (`fid`, `info_hash`, `announce_url`, `total_size`, `snatches`, `seeders`, `leechers`, `downloaded`, `last_seed`) VALUES (2, 'efb24f40ca0a2aab0bbddcea72f9363c2ce6023f', 'a:0:{}', 8451868, 1, 0, 0, 0, 1246540382), (5, 'e55c7c211030624483f7fa4b3ed14fe30d54fd85', 'a:0:{}', 5129273, 6, 0, 0, 1, 1246540060), (4, 'ad1f3b8729fe786245e5b6f17e93e33405330bd7', 'a:0:{}', 378097476, 2, 0, 0, 0, 1246523590), (6, 'e55c7c211030624483f7fa4b3ed14fe30d54fd85', 'a:0:{}', 5129273, 4, 0, 0, 0, 0), (7, '0862ac7574d95e1df6d2eca11059703e0e3cfc37', 'a:0:{}', 8715056, 2, 0, 0, 1, 1246540175), (8, 'efb24f40ca0a2aab0bbddcea72f9363c2ce6023f', 'a:0:{}', 8451868, 1, 0, 0, 0, 0), (9, '935c22a0b5d11f79ee1135c46bee53a9c7e51c07', 'a:0:{}', 146054893, 1, 0, 0, 0, 0), (10, '4e06df61ce2733e9eb7d348b19cc1a41a1d1e0e4', 'a:0:{}', 1450974, 4, 0, 0, 0, 1246554083), (11, 'bec3a442448d6cf75cbd664d08e091ae7ade904a', 'a:0:{}', 12447716, 1, 0, 0, 0, 0), (12, '35eb0c91dc8a1c57075046a7430ca9b77b609263', 'a:0:{}', 7342016, 3, 0, 0, 0, 0), (13, '451c3b003ad9deef1346fb0194d6362341b74dcb', 'a:0:{}', 9008111, 2, 0, 0, 0, 1246757119); -- -------------------------------------------------------- -- -- 表的结构 `bt_torrents_files` -- CREATE TABLE IF NOT EXISTS `bt_torrents_files` ( `fid` int(10) unsigned NOT NULL, `length` int(10) unsigned NOT NULL, `path` text NOT NULL, `name` varchar(255) NOT NULL, KEY `fid_index` (`fid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 导出表中的数据 `bt_torrents_files` -- INSERT INTO `bt_torrents_files` (`fid`, `length`, `path`, `name`) VALUES (2, 8451868, '', 'Setup-Subversion-1.6.2.msi'), (4, 378097476, '', 'all(1).rmvb'), (5, 5129273, '', 'httpd-2.2.11a-win32-x86-ssl-ipv6.zip'), (6, 5129273, '', 'httpd-2.2.11a-win32-x86-ssl-ipv6.zip'), (7, 8715056, '', 'ZendOptimizer-3.3.3-Windows-i386.exe'), (8, 8451868, '', 'Setup-Subversion-1.6.2.msi'), (9, 146054893, '', '478个PPT模板.rar'), (10, 1450974, '', 'PPT.rar'), (11, 12447716, '', 'iis6安装.rar'), (12, 7342016, '', 'Firefox Setup 3.0.6.exe'), (13, 9008111, '', 'ssreader.exe'); -- -------------------------------------------------------- -- -- 表的结构 `bt_tracker_connections` -- CREATE TABLE IF NOT EXISTS `bt_tracker_connections` ( `uid` int(10) unsigned NOT NULL default '0', `peer_id` char(40) NOT NULL, `peer_key` varchar(255) default NULL, `ip` varbinary(16) NOT NULL, `port` int(11) default '0', `fid` int(10) unsigned NOT NULL default '0', `bytes_uploaded` bigint(20) unsigned NOT NULL default '0', `bytes_downloaded` bigint(20) unsigned NOT NULL default '0', `bytes_left` bigint(20) unsigned NOT NULL default '0', `upload_speed` bigint(20) unsigned NOT NULL default '0', `download_speed` bigint(20) unsigned NOT NULL default '0', `last_announce` bigint(20) unsigned NOT NULL default '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 导出表中的数据 `bt_tracker_connections` -- INSERT INTO `bt_tracker_connections` (`uid`, `peer_id`, `peer_key`, `ip`, `port`, `fid`, `bytes_uploaded`, `bytes_downloaded`, `bytes_left`, `upload_speed`, `download_speed`, `last_announce`) VALUES (0, '4d362d312d322d2d6e342be894a7adfa0275b02c', '3335303936433044', 'Y', 19346, 1, 0, 0, 0, 0, 0, 1246522658), (0, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', 'td*', 22921, 1, 0, 8451868, 0, 0, 939096, 1246522766), (1, '4d362d312d322d2d6e342be894a7adfa0275b02c', '3335303936433044', 'Y', 19346, 4, 0, 0, 0, 0, 0, 1246523590), (1, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', 'td*', 22921, 4, 0, 0, 378097476, 0, 0, 1246523671), (3, '4d362d312d322d2d6e342be894a7adfa0275b02c', '3335303936433044', 'Y', 19346, 5, 0, 0, 0, 0, 0, 1246539921), (4, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', 'td*', 22921, 5, 0, 5129273, 0, 0, 641159, 1246540060), (3, '4d362d312d322d2d6e342be894a7adfa0275b02c', '3335303936433044', 'Y', 19346, 7, 0, 0, 0, 0, 0, 1246540127), (4, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', 'td*', 22921, 7, 0, 8715056, 0, 0, 792278, 1246540175), (3, '4d362d312d322d2d6e342be894a7adfa0275b02c', '3335303936433044', ' P0en$', 19346, 2, 0, 0, 0, 0, 0, 1246540326), (4, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', 'td*', 22921, 2, 0, 0, 0, 0, 0, 1246540382), (4, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', ' P0A\0\0\0\0\0\0B', 22921, 10, 0, 0, 1450974, 0, 0, 1246540701), (6, '4d362d312d322d2d6e349e85d170d0b5ddfce676', '4532373735463232', ' P0A\0\0\0\0\0\0B', 22921, 13, 0, 0, 0, 0, 0, 1246757119); -- -------------------------------------------------------- -- -- 表的结构 `bt_tracker_users` -- CREATE TABLE IF NOT EXISTS `bt_tracker_users` ( `uid` int(10) unsigned NOT NULL default '0', `passkey` char(40) NOT NULL, `passkey_status` tinyint(2) unsigned NOT NULL default '0', `bytes_uploaded` bigint(20) unsigned NOT NULL default '0', `bytes_downloaded` bigint(20) unsigned NOT NULL default '1', `last_activity` int(10) unsigned default NULL, PRIMARY KEY (`uid`), UNIQUE KEY `passkey` (`passkey`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 导出表中的数据 `bt_tracker_users` -- INSERT INTO `bt_tracker_users` (`uid`, `passkey`, `passkey_status`, `bytes_uploaded`, `bytes_downloaded`, `last_activity`) VALUES (1, 'cbcffcd6e5491b8a33a0b5725c4e173b9d55c33c', 1, 0, 1, 1246523671), (3, 'c82fb50c8f58ba67b70748ee0d47b9ad8afda442', 1, 0, 1, 1246540326), (4, '23a85d1e77f5d260353196d3ed8a7dd8f3ac1162', 1, 0, 1, 1246540701), (5, 'ba453f40e2bf90388d6106346fe5c5a413f6215a', 0, 0, 1, 1246554083), (6, '5cdd6b13e2aa4f17b6879f828f606391b7b11519', 0, 0, 1, 1246757119); -- -------------------------------------------------------- -- -- 表的结构 `files` -- CREATE TABLE IF NOT EXISTS `files` ( `fid` int(10) unsigned NOT NULL auto_increment, `uid` int(10) unsigned NOT NULL default '0', `filename` varchar(255) NOT NULL default '', `filepath` varchar(255) NOT NULL default '', `filemime` varchar(255) NOT NULL default '', `filesize` int(10) unsigned NOT NULL default '0', `status` int(11) NOT NULL default '0', `timestamp` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`fid`), KEY `uid` (`uid`), KEY `status` (`status`), KEY `timestamp` (`timestamp`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ; -- -- 导出表中的数据 `files` -- INSERT INTO `files` (`fid`, `uid`, `filename`, `filepath`, `filemime`, `filesize`, `status`, `timestamp`) VALUES (4, 1, '06.torrent', 'sites/default/files/06.torrent', 'application/x-bittorrent', 14614, 1, 1246523575), (2, 1, '08.torrent', 'sites/default/files/08.torrent', 'application/x-bittorrent', 2765, 1, 1246522851), (5, 1, '05.torrent', 'sites/default/files/05.torrent', 'application/x-bittorrent', 1775, 1, 1246523962), (6, 3, 'test1.torrent', 'sites/default/files/test1.torrent', 'application/x-bittorrent', 1775, 1, 1246539910), (7, 3, 'test2.torrent', 'sites/default/files/test2.torrent', 'application/x-bittorrent', 2855, 1, 1246540115), (8, 3, 'test3.torrent', 'sites/default/files/test3.torrent', 'application/x-bittorrent', 2765, 1, 1246540273), (9, 3, 'test5.torrent', 'sites/default/files/test5.torrent', 'application/x-bittorrent', 11342, 1, 1246540492), (10, 5, 'test4.torrent', 'sites/default/files/test4.torrent', 'application/x-bittorrent', 624, 1, 1246540654), (11, 1, 'test10.torrent', 'sites/default/files/test10.torrent', 'application/x-bittorrent', 3974, 1, 1246542541), (12, 4, 'test12.torrent', 'sites/default/files/test12.torrent', 'application/x-bittorrent', 2442, 1, 1246542628), (13, 6, 'ssreader.exe_.torrent', 'sites/default/files/ssreader.exe_.torrent', 'application/x-bittorrent', 2931, 1, 1246542768);