Dedicated SQL Server Hosting Specialist Dedicated SQL Server Hosting Specialist

The mirroring connection has timed out for database after 10 seconds without a response, mirroring_connection_timeout

Problem

SQL Server 2005 database mirroring is not working. Automatic failover does not happen when the principal or mirror servers are down. You will get the following error messages in the event logs.

	Event Type:	Error
	Event Source:	MSSQLSERVER
	Event Category:	(2)
	Event ID:	1479
	Date:		4/24/2008
	Time:		12:00:43 AM
	User:		N/A
	Description:
	The mirroring connection to "TCP://xxxx.yourdomain.com:5022" has timed out 
	for database "yourdatabase" after 10 seconds without a response.  
	Check the service and network connections.
	

Solution

The default mirroring time out value is 10 seconds. You need to increase this number if you have more and more database transactions.

  1. Open your principal database with SQL Server Management Studio.
  2. Open a new SQL query windows and execute the following statement
		ALTER DATABASE yourdatabase SET PARTNER TIMEOUT 30
	

Related Resources

Navigator

Other How-Tos
External Windows Resources
External SQL Server Resources
External Webmaster Resources
External Developer Resources

Questions?

Please email to webmaster[$]dedicatedsqlserver.com.

Lite SQL Server

CPU: Intel Core 2 Duo E6320
CPU Speed: 1.86GHz
Cache: 4MB
RAM: 1GB RAM
Disk: 2x160B SATA
RAID: RAID 1
Bandwidth: 1000GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $119.00

Detail...

Standard SQL Server

CPU: Quad-Core Xeon E5410
CPU Speed: 2.33GHz
Cache: 12MB
RAM: 2GB RAM
Disk: 2x146GB SCSI
RAID: RAID 1
Bandwidth: 1500GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $259.00

Detail...