Lumen Suddenly Can’t Connect to SQL Server

  laravel, lumen, php, sql-server-2012, xampp

I have an app that using SQL Server as Database. So, the problem is the app suddenly can’t connect to DB with error like this :

PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:xxx-apivendorilluminatedatabaseConnectorsConnector.php on line 46

The app and DB has separate server, and connection to DB from other server normal.
The problem solved if i restart the XAMPP service. FYI iam using Windows Server 2008 R2 as server, XAMPP v3.2.3, and SQL Server 20120.

So why it can happen? I think its not normal if you must restart XAMPP service everytime if that happens.


Source: Laravel

Leave a Reply