Title: connecting to ms sql  link database
Last modified: August 21, 2016

---

# connecting to ms sql link database

 *  [Pam Balendra](https://wordpress.org/support/users/pam-balendra/)
 * (@pam-balendra)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/connecting-to-ms-sql-link-database/)
 * I am getting the following errors when i use sqlsrv_connect command to connect
   to a linked ms sql databsse , please help. Thank you
 *  Username: admin Connection could not be established.
    SQLSTATE: 08001 code: 
   53 message: [Microsoft][SQL Server Native Client 11.0]Named Pipes Provider: Could
   not open a connection to SQL Server [53]. SQLSTATE: HYT00 code: 0 message: [Microsoft][
   SQL Server Native Client 11.0]Login timeout expired SQLSTATE: 08001 code: 53 
   message: [Microsoft][SQL Server Native Client 11.0]A network-related or instance-
   specific error has occurred while establishing a connection to SQL Server. Server
   is not found or not accessible. Check if instance name is correct and if SQL 
   Server is configured to allow remote connections. For more information see SQL
   Server Books Online

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Chris Barrett](https://wordpress.org/support/users/cbarrett123/)
 * (@cbarrett123)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/connecting-to-ms-sql-link-database/#post-5131527)
 * WordPress is not designed to work with SQL Server. It’s designed to work with
   MySQL. You would be better off looking at installing MySQL on the same server
   and using that for your WordPress setup (if you need to run SQL Server). For 
   more information, please review esmi’s response from a few years back: [http://wordpress.org/support/topic/wordpress-and-sql-server](http://wordpress.org/support/topic/wordpress-and-sql-server)
 * (There is a link in that thread about a site reported to have been built by Microsoft
   engineers discussing setting up SQL Server to use WordPress, but as they haven’t
   posted anything in years I don’t know if anything there would still work. Caveat
   emptor on that link).
 *  Thread Starter [Pam Balendra](https://wordpress.org/support/users/pam-balendra/)
 * (@pam-balendra)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/connecting-to-ms-sql-link-database/#post-5131560)
 * Thank you Chris,
 *  may be i did not make this clear, our WordPress application is running on MySQL,
   I need to connect to an external MS SQL database on another server to extract
   some data to be displayed on the WP application we are developing.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘connecting to ms sql link database’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 2 participants
 * Last reply from: [Pam Balendra](https://wordpress.org/support/users/pam-balendra/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/connecting-to-ms-sql-link-database/#post-5131560)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
