Setting up WordPress 3.5.1 on 1and1 Windows/MSSQL Hosting Plan
This article gives a great breakdown on setting up WordPress on IIS with Microsoft's SQL server. I'm not sure if this is specific to 1and1's hosting setup but I did find a quirk when using version WordPress 3.5.1 version 1.1.4 of the WordPress Database Abstraction plugin.
You're likely to run into an error similar to the following.
If you encountered this error while running install.php you will need to login to the MSSQL admin panel, delete the tables that were created by the WordPress install.php script and re-run install.php.
You're likely to run into an error similar to the following.
Call to undefined function mysql_free_result() in E:\kunden\homepages\19\<your user id>\www\mysite\wp-includes\wp-db.php on line 1126Edit the file wordpress-root-dir\wp-includes\wp-db.php look for the following code block:
if ( is_resource( $this->result ) )
mysql_free_result( $this->result );
Comment both lines out otherwise mysql_free_result will always return an error:
//if ( is_resource( $this->result ) )
//mysql_free_result( $this->result );
Leave everything else in the function as is, including the closing curly brace "}" on the line below.If you encountered this error while running install.php you will need to login to the MSSQL admin panel, delete the tables that were created by the WordPress install.php script and re-run install.php.