简体   繁体   English

Drupal,SQL Server和IIS7

[英]Drupal, SQL Server and IIS7

Is there a SQL Server Provider for Drupal? 是否有适用于Drupal的SQL Server提供程序? I know that there is a SQL Server Client for PHP in beta and I wonder whether it would be hard to change the database provider to point to SQL Server instead of MySQL. 我知道Beta中有一个用于PHP的SQL Server客户端,我想知道是否很难更改数据库提供程序以指向SQL Server而不是MySQL。

Drupal core only officially supports MySQL and PostgreSQL as database providers for Drupal 6, with work being done to support SQLite for Drupal 7. Drupal核心仅正式支持MySQL和PostgreSQL作为Drupal 6的数据库提供程序,并且已经完成了为Drupal 7支持SQLite的工作。

The best resource I could find was this item ( http://drupal.org/node/74308 ) in the issue queue, but it hasn't had activity in a few months. 我能找到的最好的资源是发布队列中的此项( http://drupal.org/node/74308 ),但是几个月没有活动了。 There are a few patches posted with database layer files, but you will have to thoroughly test them for your use. 数据库层文件中发布了一些补丁程序,但是您必须对其进行彻底的测试以供使用。

There were a couple postings on groups.drupal.org about using SQL Server for sites as well that may be worth checking out: http://groups.drupal.org/taxonomy/term/844 . 在groups.drupal.org上还有一些关于在站点上使用SQL Server的帖子,可能值得一看: http ://groups.drupal.org/taxonomy/term/844。

Drupal 6 does not support SQL Server . Drupal 6不支持SQL Server Drupal 7's new database layer will be based on PDO . Drupal 7的新数据库层将基于PDO While PDO doesn't yet work directly with SQL Server , both PDO and SQL Server work with ODBC . 虽然PDO尚不能直接与SQL Server一起使用 ,但PDO和SQL Server都可以与ODBC一起使用 So, in theory, you'll be able to use SQL Server with Drupal 7. How that works in practice remains to be seen. 因此,从理论上讲,您将能够将SQL Server与Drupal 7一起使用。

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

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