永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放
標(biāo)題:
[教程]
wddns 1.8的手動(dòng)升級(jí)
[打印本頁(yè)]
作者:
admin
時(shí)間:
2012-11-8 19:08
標(biāo)題:
wddns 1.8的手動(dòng)升級(jí)
如果手動(dòng)不能升級(jí)wddns,可使用手工升級(jí)如下
SSH登錄服務(wù)器
cd /tmp
wget -c
http://down.wdlinux.cn/down/wddns_v1.8.tar.gz
tar zxvf wddns_v1.8.tar.gz -C /
這樣就完成了
然后在phpmyadmin里的wdcpdb數(shù)據(jù)庫(kù)里執(zhí)行如下的SQL
ALTER TABLE `wd_dns_domain` ADD `ngid` TINYINT( 4 ) NOT NULL DEFAULT '0' AFTER `gid`;
ALTER TABLE `wd_dns_update` ADD `ngid` INT( 8 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `pid`;
ALTER TABLE `wd_dns_records` ADD `ngid` TINYINT( 4 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `pid`;
ALTER TABLE `wd_dns_monitor` ADD `bid` VARCHAR( 50 ) NOT NULL AFTER `bip`;
ALTER TABLE `wd_group` ADD `level` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `name`;
UPDATE `wdcpdb`.`wd_group` SET `level` = '10' WHERE `wd_group`.`id` =10;
UPDATE `wdcpdb`.`wd_group` SET `level` = '1' WHERE `wd_group`.`id` =1;
UPDATE `wdcpdb`.`wd_group` SET `level` = '5' WHERE `wd_group`.`id` =5;
ALTER TABLE `wd_member` ADD `pid` INT( 8 ) UNSIGNED NOT NULL AFTER `gid` ;
復(fù)制代碼
作者:
smegx
時(shí)間:
2012-11-9 11:18
按上述操作over,sql語(yǔ)句第九行執(zhí)行錯(cuò)誤,wd_member表中已經(jīng)存在pid字段...
后臺(tái)顯示升級(jí)成功.
作者:
smegx
時(shí)間:
2012-11-9 11:24
順便說(shuō)一句,升級(jí)為1.8后,部分功能被禁用了,需授權(quán),可以理解...
作者:
admin
時(shí)間:
2012-11-9 20:05
不影響正常使用就可以
功能那個(gè),之前的版本也是有限制的,只是提示不一樣
作者:
smegx
時(shí)間:
2012-11-9 22:33
回復(fù)
4#
admin
老大,杯具啊,使用不了了,升級(jí)后添加域名報(bào)錯(cuò),少了一張表,怎么卸載重裝?#1146 - Table 'wdcpdb.wd_dns_buylog' doesn't exist
INSERT INTO wd_dns_buylog( uid, pid, domain, money, note, rtime )
VALUES ('1', '0', 'gxsme.net', '', 'smegx 開(kāi)通產(chǎn)品ID 0 域名為gxsme.net 總共元', 1352470706
)
作者:
admin
時(shí)間:
2012-11-9 23:11
CREATE TABLE IF NOT EXISTS `wd_dns_buylog` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(8) unsigned NOT NULL DEFAULT '0',
`pid` int(8) unsigned NOT NULL DEFAULT '0',
`did` int(8) unsigned NOT NULL DEFAULT '0',
`domain` varchar(100) not null default '',
`money` float(10,2) unsigned NOT NULL DEFAULT '0.00',
`note` varchar(100) not null default '',
`state` tinyint(1) unsigned not null default '0',
`rtime` int(10) unsigned not null default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `wd_dns_paylog` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(11) unsigned NOT NULL DEFAULT '0',
`trade_no` varchar(50) DEFAULT '',
`out_trade_no` varchar(50) DEFAULT '',
`money` float(10,2) unsigned NOT NULL DEFAULT '0.00',
`title` varchar(100) DEFAULT '',
`note` varchar(255) DEFAULT '',
`acc` varchar(100) DEFAULT '',
`rtime` int(11) unsigned NOT NULL DEFAULT '0',
`state` int(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT=1 ;
復(fù)制代碼
歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/)
Powered by Discuz! 7.2