|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 12:22 PM
Points: 6,660,
Visits: 5,684
|
|
AEdel (2/25/2013) We began getting the following error this morning, from a php script that's been running for months:
[25-Feb-2013 01:10:17] PHP Warning: odbc_connect(): SQL error: [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [53]. , SQL state 08001 in SQLConnect in C:\Admin\Scripts\extract_to_sqlserver.php on line 665
The script connects to the local host, and was using the IP address "192.168.0.40". When we changed it to "localhost", it started working again.
Now, to figure out what changed in the environment that caused the IP to stop working all of a sudden...
Maybe your localhost lost its DHCP lease?
Brandie Tarvin, MCITP Database Administrator, MCDBA, MCSA
Webpage: http://www.BrandieTarvin.net LiveJournal Blog: http://brandietarvin.livejournal.com/ On LinkedIn!, Google+, and Twitter.
Freelance Writer: Shadowrun Latchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, March 01, 2013 2:49 PM
Points: 2,
Visits: 14
|
|
Brandie Tarvin (2/26/2013)
AEdel (2/25/2013) We began getting the following error this morning, from a php script that's been running for months:
[25-Feb-2013 01:10:17] PHP Warning: odbc_connect(): SQL error: [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [53]. , SQL state 08001 in SQLConnect in C:\Admin\Scripts\extract_to_sqlserver.php on line 665
The script connects to the local host, and was using the IP address "192.168.0.40". When we changed it to "localhost", it started working again.
Now, to figure out what changed in the environment that caused the IP to stop working all of a sudden...Maybe your localhost lost its DHCP lease?
Our IT dept. rebooted the server, and it resolved whatever the problem was... since this is a database server, it's configured to use a static IP.
|
|
|
|