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

MySQL数据库转移,access,sql server 转 MySQL 的图文教程_php技巧

php 搞代码 3年前 (2022-01-26) 21次浏览 已收录 0个评论

ODBC是一种让各种数据库具有相同界面的应用程序界面

先到php爱好者站的http://www.phpfans.net/download.php?cid=1&page=3下载mysql odbc driver。目前最新版本为v5
由于版本5容易出现乱码问题,强烈要求用版本 3.51

/*
作者:我不是鱼
网址:http://www.phpfans.net
博客:http://www.phpfans.net/space/index.php/2
email:[email protected]
qq:245821218
*/

安装mysql odbc driver。。。

1。先用phpmyadmin建一个test的数据库,目前没用任何数据表在其中

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/20070902215002155.jpg’);}” src=”http://files.jb51.net/upload/20070902215002155.jpg” onl oad=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>

2.打开[控制面板][管理工具]双击[数据库(ODBC)]
选取[系统数据源]标签,再点击[添加]

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/20070902215003874.jpg’);}” src=”http://files.jb51.net/upload/20070902215003874.jpg” onl oad=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>


更多文章 php爱好者站 http://www.phpfans.net

3。打开一个access数据库
(1)选择一个表,导出。。。

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/20070902215003280.jpg’);}” src=”http://files.jb51.net/upload/20070902215003280.jpg” onl oad=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>

(2)选择[odbc数据库]

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/20070902215003353.jpg’);}” src=”http://files.jb51.net/upload/20070902215003353.jpg” onl oad=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>

4。选取[机器数据源]标签,选择我们之前设置的dwmxphp然后[确定]

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/20070902215003157.jpg’);}” src=”http://files.jb51.net/upload/20070902215003157.jpg” onl oad=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}来2源gaodaima#com搞(代@码&网” border=0>

5。执行完成后打开phpmyadmin看看。。没错,那就是我们刚才导入的数据

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/20070902215004456.jpg’);}” src=”http://files.jb51.net/upload/20070902215004456.jpg” onl oad=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:MySQL数据库转移,access,sql server 转 MySQL 的图文教程_php技巧

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

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

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

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