K9 通用版 博客版 主题版 地方门户版 企业版 |   企业(ASP) 分类 使用 分享 疑问 模板 建议 帮助 错误 其他
+新建主题 [Ajax]
填写帐号密码即可完成注册
+新建话题 最新回复排序 最新主题排序 精华帖子

KingCMS 3.0 的AC数据库转成MSSQL的方法

1Next >

fox1383164k 发表于:10-09-02 00:10 [添加收藏] 楼主 [回复] #Top#
fox1383164k 人气:377 积分:864 金币:3006
KC元老 灌水狂人
一、准备工作:
1、备份AC数据库及conn.asp文件(啰嗦一句:每位合格的站长都有备份数据的习惯);
2、在 KingCMS官方站下载KingCMS BETA 1118(即最新的KingCMS 3.0)
3、将 INSTALL.asp 放到后台目录下,并执行安装一个空的MS SQL库。安装方法见KingCMS 3.0 如何安装MSMSQL数据库

二、开始转换
1、使用 企业管理器 链接到MS SQL(一定要使用系统分配的帐号登陆,以免转换后出现读取的权限错误);
2、删除以下表中的数据: kingadmin   kingsystem   kingkey  kinglevel
<SPAN id=attach_3989 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 475px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图1] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_707ed10e70a26f829084C08N4f2cR32i.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3989', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3989', 0, event)" />
<SPAN id=attach_3990 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 863px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图3] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_0785b4f84b70fae30325351EydyOIIb7.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3990', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3990', 0, event)" />

3、导入数据如图示
<SPAN id=attach_3991 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 1272px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图5] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_d645236fe78961eb8960R2Fi84Y5V6Kv.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3991', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3991', 0, event)" />
<SPAN id=attach_3992 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 1503px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图7] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_de042a95e8b29277bad7e0AGS2PKaVsC.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3992', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3992', 0, event)" />
<SPAN id=attach_3993 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 1878px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图9] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_48be31667e3fbba3ec20zcoUSsTz14ve.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3993', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3993', 0, event)" />
<SPAN id=attach_3994 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 2261px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图11] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_53473b16611f2f75b34ccZYo5vEV37AI.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3994', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3994', 0, event)" />
<SPAN id=attach_3995 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 2647px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图13] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_b488e877e66f48bc76f8ZUNqbYWcKFgR.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3995', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3995', 0, event)" />
<SPAN id=attach_3996 style="DISPLAY: none; LEFT: 217px; POSITION: absolute; TOP: 3034px" .mouseover="showMenu(this.id, 0, 1)">KingCMS3.0的AC数据库转成MSSQL的方法[图15] <img alt="" src="http://www.adjie.com/attachments/forumid_38/20070903_6b0b41ee78380b6b6b85YXDO2CgXWbpd.jpg" border=0 .mouseover="attachimginfo(this, 'attach_3996', 1);attachimg(this, 'mouseover')" .load="attachimg(this, 'load')" .mouseout="attachimginfo(this, 'attach_3996', 0, event)" />
 
如何安装MSSQL版KingCMS?

在前台目录page下到conn.asp.
 const king_dbtype = 0  Rem  0代表ACCESS数据库类型,1代表MSSQL数据库
红色部分既是你要选择数据类型的参数,1代表为MSSQL..

MSSQL 链接设置
 const king_sql_server = "127.0.0.1"
 (你的SQL服务器IP,本机为默认.)
 数据库名称
 const king_sql_db     = "你的SQL数据库名"
 数据库登录帐号
 const king_sql_user   = "你的SQL数据库用户名"
数据库密码
 const king_sql_pwd    = "你的SQL数据库密码"

改好参数后下来打开SQL企业管理器,新建SQL数据库(空库).
IIS建好站点-安装即可.查看一个你的SQL库中表有没有KingCMS字段,如果有的话表示安装成功.

原文地址:http://www.adjie.com/thread-39118-1-1.html

JOHNNY 发表于:10-09-03 15:25 沙发 [回复] #Top#
JOHNNY 人气:0 积分:604 金币:995
那个图片怎么不显示了啊··
jiaoda015 发表于:11-04-28 17:11 板凳 [回复] #Top#
jiaoda015 人气:15 积分:1 金币:640
楼主没有解答啊

1Next >

发表回复

帐号 匿名发布 审核后可见 [加载完整在线编辑器]
内容
验证码
KingCMS 内容管理系统

关于我们 联系我们 广告报价 付款方式 站点导航

Copyright © 2004-2015 Focuznet All rights reserved.

广州唯众网络科技有限公司 粤ICP备08008106号