开发者

How to install wordpress on MS SQL [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

开发者_如何学C

Closed 9 years ago.

Improve this question

I am trying to convert my wordpress site which is based on MYSQl to a MS SQL because my we have our main database through MS SQL and we are creating database driven wordpress sites. I have been able to automate all of our wordpress installation + setup through database scripts through MYSQL but all of our variables + inputs are in MS SQL.

Would it be easier to create a new database in MYSQL and migrate all of my data over from MS SQL or is there a way to have wordpress use MS SQL. I am wondering if anyone has been able to do this or has any hints. Thanks

EDIT/UPDATE: I have accomplished this by using a linked server. Here is a website if anyone else is reading this and wants to run the wordpress database by using Microsoft SQL Server Management Studio:


It is definitely possible to run WordPress connecting to MS SQL Server. We are running such an instance in production at my company. Here are two posts that describe the process of using WordPress with MS SQL Server and IIS. I am using such a configuration right now on my local box.

http://techsugar.wordpress.com/2011/03/02/how-to-install-wordpress-on-iis-7-5-using-sql-server-2008/

http://wordpress.visitmix.com/development/installing-wordpress-on-sql-server


You can't. Even when migrating the data over Wordpress would still use MySQL specific API calls and MySQL specific SQL statements, you'd first have to refactor the whole codebase in order to make it compatible.


There is no feasible way to do this. MS SQL support is an open request in WordPress's bug tracking system.

Here is a blog entry from a guy who tried it. It didn't end well.

For completeness's sake, there seems to be an approach that is in alpha Stadium (Not suitable for everyday use!) that may one day become a workable workaround. wordpress-mssql


So we are running Wordpress 3 with MS SQL 2008 under IIS 7 and the Wincache plugin and it's great. The trick is as another poster suggested is the MySQL that exists in many plugins. The project is here http://sourceforge.net/projects/wp-sqlsrv/


WordPress won't natively run MSSQL. However, an up-to-date fork that supports MSSQL does exist.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜