分享

写回答

发帖

[教程] 如何从本地(远程)数据库导入数据到Godaddy MSSQL数据库

回答|共 102 个

lwbo1987

发表于 2011-6-1 09:51:06 | 显示全部楼层

回复 92# 的帖子

如果数据库都是mysql的应该就不需要的,直接导入到空间
回复 支持 反对

使用道具 举报

3906933

发表于 2011-6-1 19:45:53 | 显示全部楼层

哥哥  我的意思是  怎么把保存在电脑上的mysql导出的.sql文档、用这个工具导入到godaddy空间数据库!

不能直接用这个工具导入啊! 但是电脑上的mysql导出的.sql文档也不能导入sql server 2005!该怎么解决呢?
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-2 09:06:51 | 显示全部楼层

回复 94# 的帖子

你的SQL文件本来是什么数据库,导入就导入到对应的数据库,可能需要切换什么的,具体不太清楚
回复 支持 反对

使用道具 举报

lb1316888

发表于 2011-6-5 18:47:32 | 显示全部楼层

安装数据库超级麻烦,我试过了
回复 支持 反对

使用道具 举报

bhhl

发表于 2011-9-7 11:50:16 | 显示全部楼层

我以前也花了国庆整整一个假期研究这个问题,我的经验是:
对于关系数据库,由于内部表多少都设置了主键和外键的相关关联,所以如果把access数据库传到mssql的话,
第一步,需要解开主键和外键的相互引用,这样数据库内的表才是独立的。
第二步,把解开关联的表上传到sql数据库。
第三部,用程序把sql数据库里的表关联起来。一般这个程序可以从网站的安装程序里找到。安装程序的数据库安装部分一般包括两部分,一是建表,二是关联表,找到第二部分,单独拿出来放在一个文件里,然后执行它,让sql数据库里的表建立好关联,这样就算大功告成了!
希望对大家有所帮助。
之前看到不少朋友的问题,有不少是因为没有解开原来数据库里表的相互关联引起的。
RAKSmart
回复 支持 反对

使用道具 举报

无法显示

发表于 2012-1-20 17:47:59 | 显示全部楼层

求高手解决
客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
--

<HTML>
        <HEAD><TITLE>Page Not Found</TITLE></HEAD>

        <BODY BGCOLOR="#FFFFFF" LINK="maroon" VLINK="maroon" ALINK="maroon">
        <CENTER>
        <TABLE WIDTH="85%" BORDER="1" BORDERCOLOR="#000000" CELLSPACING="0" CELLPADDING="3">
        <TR>
        <TD BGCOLOR="#e5dccd">
                <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
                <TR>
                        <TD WIDTH="40%"><IMG SRC="http://images.godaddy.com/hosting/hdr_sorry_small.gif" BORDER="1"
BORDERCOLOR="#000000"></TD>
                        <TD ALIGN="CENTER"><H2 STYLE="font-family: arial, sans-serif">Page Not Found</H2></TD>
                </TR>
                </TABLE>
        </TD>
        </TR>
        <TR>
        <TD>
<P STYLE="margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; font-size: 10pt; font-family: arial, sans-serif">
        The page you tried to access does not exist on this server. This page may not exist due to the following reasons:
        <OL><LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>You are the owner of this web site and you have not uploaded</STRONG> (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, <A HREF="http://ftphelp.secureserver.net/ftphelp.htm">click here for FTP Upload Information</A>.
        <P>
        <LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>The URL that you have entered in your browser is incorrect.</STRONG> Please re-enter the URL and try again.
        <P>
        <LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>The Link that you clicked on incorrectly points to this page.</STRONG> Please contact the owner of this web site to inform them of this situation.
        </OL>
        <P>
        </TD>
        </TR>
        </TABLE>
        </BODY>
        <font face="arial" color="white" size="1">DirectorySize: 12766</font>
<HTML>

--. (System.Web.Services)

------------------------------
程序位置:

   在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   在 Microsoft.SqlServer.Tools.HostingServices.PublishService.BeginPublish(String serverName, String databaseName, String sqlUsername, String sqlPassword, Boolean useTransactions)
   在 Microsoft.SqlServer.Management.SqlManagerUI.Scripting.WebServicePublishOptions.Initialize(String databaseServerName, String databaseName, String databaseUserName, String databasePassword)
   在 Microsoft.SqlServer.Management.SqlManagerUI.Scripting.WebServicePublishOptions..ctor(Uri webServiceAddress, String webServiceUsername, String webServicePassword, String databaseServerName, String databaseName, String databaseUserName, String databasePassword)
   在 Microsoft.SqlServer.Management.SqlManagerUI.OutputOptionsWizardPage.OnLeavePage(LeavePageEventArgs e)

回复 支持 反对

使用道具 举报

无法显示

发表于 2012-1-21 15:49:53 | 显示全部楼层

求高手解决
客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
--

<HTML>
        <HEAD><TITLE>Page Not Found</TITLE></HEAD>

        <BODY BGCOLOR="#FFFFFF" LINK="maroon" VLINK="maroon" ALINK="maroon">
        <CENTER>
        <TABLE WIDTH="85%" BORDER="1" BORDERCOLOR="#000000" CELLSPACING="0" CELLPADDING="3">
        <TR>
        <TD BGCOLOR="#e5dccd">
                <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
                <TR>
                        <TD WIDTH="40%"><IMG SRC="http://images.godaddy.com/hosting/hdr_sorry_small.gif" BORDER="1"
BORDERCOLOR="#000000"></TD>
                        <TD ALIGN="CENTER"><H2 STYLE="font-family: arial, sans-serif">Page Not Found</H2></TD>
                </TR>
                </TABLE>
        </TD>
        </TR>
        <TR>
        <TD>
<P STYLE="margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; font-size: 10pt; font-family: arial, sans-serif">
        The page you tried to access does not exist on this server. This page may not exist due to the following reasons:
        <OL><LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>You are the owner of this web site and you have not uploaded</STRONG> (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, <A HREF="http://ftphelp.secureserver.net/ftphelp.htm">click here for FTP Upload Information</A>.
        <P>
        <LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>The URL that you have entered in your browser is incorrect.</STRONG> Please re-enter the URL and try again.
        <P>
        <LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>The Link that you clicked on incorrectly points to this page.</STRONG> Please contact the owner of this web site to inform them of this situation.
        </OL>
        <P>
        </TD>
        </TR>
        </TABLE>
        </BODY>
        <font face="arial" color="white" size="1">DirectorySize: 12766</font>
<HTML>

--. (System.Web.Services)

------------------------------
程序位置:

   在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   在 Microsoft.SqlServer.Tools.HostingServices.PublishService.BeginPublish(String serverName, String databaseName, String sqlUsername, String sqlPassword, Boolean useTransactions)
   在 Microsoft.SqlServer.Management.SqlManagerUI.Scripting.WebServicePublishOptions.Initialize(String databaseServerName, String databaseName, String databaseUserName, String databasePassword)
   在 Microsoft.SqlServer.Management.SqlManagerUI.Scripting.WebServicePublishOptions..ctor(Uri webServiceAddress, String webServiceUsername, String webServicePassword, String databaseServerName, String databaseName, String databaseUserName, String databasePassword)
   在 Microsoft.SqlServer.Management.SqlManagerUI.OutputOptionsWizardPage.OnLeavePage(LeavePageEventArgs e)

回复 支持 反对

使用道具 举报

lwbo1987

发表于 2012-1-29 10:56:33 | 显示全部楼层

无法显示 发表于 2012-1-21 03:49 PM
求高手解决
客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:

修改内容类型吧
回复 支持 反对

使用道具 举报

无法显示

发表于 2012-1-29 20:14:05 | 显示全部楼层

内容类型是win和Deluxe吗??
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2012-1-30 09:15:34 | 显示全部楼层

无法显示 发表于 2012-1-29 08:14 PM
内容类型是win和Deluxe吗??

客户端发现响应内容类型为“text/html”,但应为“text/xml”。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则