简体   繁体   English

SQL Server CE转换为SQL Server Express网站发布策略? 使用Umbraco并开始使用

[英]SQL Server CE convert to SQL Server Express Website publishing strategy? Using Umbraco and getting started

I am looking to convert from SQL Server CE to SQL Server 2012 (or 2016) for my Umbraco project, but I am unsure what the best strategy is for deployment. 我希望将Umbraco项目从SQL Server CE转换为SQL Server 2012(或2016),但是我不确定什么是最佳部署策略。

I have a godaddy plesk server that runs SQL Server 2012 Express. 我有一个运行SQL Server 2012 Express的godaddy plesk服务器。 My Umbraco project is set up with SQL Server CE, but I am looking to convert it to SQL Server Express (for performance and future growth). 我的Umbraco项目是使用SQL Server CE设置的,但我希望将其转换为SQL Server Express(以提高性能和未来的增长)。

My local machine is running SQL Server 2012 (sp1) Express. 我的本地计算机正在运行SQL Server 2012(sp1)Express。 I am unsure what to do with respect to the conversion from CE to Express. 我不确定从CE到Express的转换该怎么做。

  1. Do I upgrade my local machine to SQL Server 2016 Express, and then convert the CE to 2016 Express? 我是否将本地计算机升级到SQL Server 2016 Express,然后将CE转换为2016 Express? I am worried that this will cause issues when I publish my website to godaddy? 我担心在将网站发布给Godaddy时会引起问题吗?

  2. Do I just convert SQL Server CE to SQL Server 2012, and then publish it; 我是否只是将SQL Server CE转换为SQL Server 2012,然后发布它? and forget about upgrading to 2016 Express so as to avoid compatibility issues with my godaddy plesk server (which runs 2012 express)? 并忘记升级到2016 Express,以避免与Godaddy plesk服务器(运行2012 Express)的兼容性问题?

  3. Do I have to connect to my SQL Server 2012 on godaddy, then convert the CE to it? 我是否必须在godaddy上连接到SQL Server 2012,然后将CE转换为它? I would prefer to avoid this so I can develop and test locally, and then publish the local database to the server database. 我希望避免这种情况,以便我可以在本地进行开发和测试,然后将本地数据库发布到服务器数据库。

Essentially, I am looking for the best practice with respect to pre-deployment and deployment. 本质上,我正在寻找有关预部署和部署的最佳实践。

What I've done is migrated SQL Server CE to my current SQL Server 2012 Express. 我所做的就是将SQL Server CE迁移到当前的SQL Server 2012 Express。 I was worried that I may have compatibility issues with 2016. 我担心与2016年存在兼容性问题。

根据Marc的建议,我决定选择选项2,现在一切似乎都还可以。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM