MINOR Fixed formatting of troubleshooting section of README.md

This commit is contained in:
Sean Harvey 2011-02-23 11:00:01 +13:00
parent ddd0794720
commit c8d1fbe03f

View File

@ -27,16 +27,20 @@ The easiest way to get up and running with SQL Server on SilverStripe is using t
## Troubleshooting
Q: SQL Server resides on a remote host (a different machine) and I can't connect to it from mine.
*Q: SQL Server resides on a remote host (a different machine) and I can't connect to it from mine.*
A: Please ensure you have enabled TCP access using **SQL Server Configuration Manager** and [opened firewall ports](http://msdn.microsoft.com/en-us/library/ms175043.aspx).
Q: I just installed an instance of SQL Server that isn't the default, but it says that it cannot connect.
*Q: I just installed an instance of SQL Server that isn't the default, but it says that it cannot connect.*
A: Make sure that your server name is made in this format: **(local)\SQLExpress**.The first part before the slash indicates the server host, or IP address. In this case, (local) indicates localhost, which is the same server PHP is running on. The second part is the SQL Server instance name to connect to, which is useful for multiple instances. One example of a non-default instance is **SQLExpress**.
Q: I'm getting unicode SQL Server errors connecting to SQL Server database
*Q: I'm getting unicode SQL Server errors connecting to SQL Server database*
A: If you are using FreeTDS make sure you're using TDS version 8.0 in **/etc/freetds/freetds.conf** (or wherever it's installed). If on Windows, ensure you use the [SQL Server Driver for PHP](http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9) and **NOT** the mssql drivers provided by PHP.
Q: Using FreeTDS I can't connect to my SQL Server database. An error in PHP says the server doesn't exist
*Q: Using FreeTDS I can't connect to my SQL Server database. An error in PHP says the server doesn't exist*
A: Make sure you've got an entry in **/etc/freetds/freetds.conf** (or wheverever it's installed) that points to your server. For example:
[myserver]