Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ravimanivel's avatar

Error While connecting SQL SERVER using laravel @Snapey I have a correct credential but it cant connect.

There is an error while running the laravel Application in my hosting CPANEL DIRECT ADMIN.

Internal Server Error

Illuminate\Database\QueryException SQLSTATE[HYT00]: [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (Connection: sqlsrv, SQL: select top 1 * from [sessions] where [id] = OqLF7p9v0GuA8dCqZ8gzniDyljEywARzEb1hHJdO)

PHP 8.2.27 — Laravel 12.2.0

0 likes
3 replies
Snapey's avatar

you seem to have tried to mention me in your subject line for some strange reason?

Please or to participate in this conversation.