• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

MDaemon以MySQL为存储方式的配置过程

mysql 搞代码 4年前 (2022-01-09) 6次浏览 已收录 0个评论

以下将是我详细配置的过程加图片演示: 1、先到 http://dev.mysql.com/downloads/ 下载MyODBC的最新版本,并安装它。安装过程非常的简单,我就不再贴图演示。 2、进入MySQL,新建一个用来存储你MDaemon数据的数据库,我这里的名字为“MDaemonUser”。 498)th

以下将是我详细配置的过程加图片演示:
1、先到http://dev.mysql.com/downloads/下载MyODBC的最新版本,并安装它。安装过程非常的简单,我就不再贴图演示。
2、进入MySQL,新建一个用来存储你MDaemon数据的数据库,我这里的名字为“MDaemonUser”。
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523390.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
3、打开MDaemon控制面板并进入数据库配置框,进行配置,大家需要注意的是不要尝试从其它类型的数据库模式来转换到MySQL方式,我们必须要先将存储方式配置为MDaemon默认的“USERLIST.DAT”方式才能进行正常的转换。
(1)我们选择ODBC方式,并点击“Configure”继续;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523391.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
(2)出现以下提示框,选择“NEW DSN”来创建新的DSN数据源;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523392.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
(3)创建新的Mysql ODBC数据源,为MDaemon存储数据所用,我们选择创建的是机器数据源;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523393.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
(4)创建机器数据源的类型为系统数据源,并点击“下一步”;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523394.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
(5)创建新数据源中,我们选择MySQL,并点击“下一步”完成;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523395.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
OK,让我们继续。
(6)根据提示,填写相应的数据,只要把连接MySQL的数据填写正确就可以了,然后完成配置;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523396.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
4、完成上面的操作后,自动跳回最初的界面,我们选择已经创建好的“MDaemonUser”数据源,并点击下一步;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523397.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
5、开始向数据源里导入相应的表,MDaemon提供有MySQL用的表单导入文件,点击“Run a script …”系统自动就切换到导入文件所在目录;
498)this.width=498;’ onm ousewheel = ‘javascript:return big(this)’ class=bbimg onm ousedown=if(self.startMove)startMove(this,event) onm ousewheel=”return bb_img_onmousewheel(event,this);” ondblclick=zoom_Img(this) style=”CURSOR: move” src=”/files/uploadimg/20050916/1523398.jpg” onl oad=”if(this.width>screen.width*2/3) {this.alt=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’; this.title=’单击: 破窗而出; 双击: 一览无余
左键: 拖拖拉拉; 滚轮: 收放自如’}” border=0>
在这之后,根据评不提示走就可以了!忘记告诉大家针对MySQL的导入文件名字是:AccountsDB-MySQL.sql,它的实际所在目录是:X:\ MDaemon\App。当MDaemon重新启动后,为了保证其配置的有效性,请务必要重新启动IIS。另外之前我们导入数据表单后,不像配置 Access那样会在导入后显示导入后的表单,而My本文来源gaodai#ma#com搞*!代#%^码$网*SQL方式并没有显示导入后的表单名称。你可以进入MySQL下察看表单是否建立成功。
好了现在你就可以使用MySQL的方式来存储你的用户数据了!不过唯一不好的是,数据库存储方式帐号密码是没有加密的!


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:MDaemon以MySQL为存储方式的配置过程
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址