Drupal has been tested on MySQL and Postgres database servers. But it probably runs on many more, due to its PEAR support. Let's make it work on Microsoft SQL server. Drupal already runs just fine on IIS, and many intranets would pick Drupal if it could run on pure Microsoft software.
The inital step in this process is to convert the database script which creates the tables and indices into a SQL Server compatible format. The model for this new script should be the database.mysql and database.pgsql files in the 'database' directory.
after the tables are created, an working drupal install may be as easy as specifying the right connection URL in conf.php. That URL would start with mssql:// ...
A few tweaks to Drupal would probably be needed later, but this one script could get us very close.
Comments
Comment #1
moshe weitzman commentedmarco posted this helpful URL to the devel list:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/iis/deploy/depovg/mysql.asp
Comment #2
moshe weitzman commentedI followed the steps indicated in the MSDN link below. So below I submit an MS SQL server database script which creates a 4.1 compliant Drupal database.
After setting up PEAR, enabling the mssql dynamic extension in PHP.ini, and changing my $db_url in conf.php to mssql://, I attempted to run Drupal. Alas I'm stuck now because PHP (v4.3 as ISAPI module & Apache module) is causing Access Violations and generally crashing during session_start(). I know that I can connect to the DB and run queries, because a few test scripts work fine.
I'm hoping someone else will take the script below and complete the SQL server port, or at least get the home page to display.
Here is a PHP script which you may save to your Drupal root directory and then browse to it. It works for me, and illustrates that my PEAR is generally working fine.
Comment #3
al commentedAssigning this to Moshe, as he seems to be actively developing it on drupal-devel.
Comment #4
moshe weitzman commentedthis feature request is complete and rolled out to CVS. please open new bugs as needed. closed.