Replies: 3 comments
-
i'm having the same problem both on a ubuntu & macos machine, both running php 8.2.8 Laravel Version10.18.0 PHP Version8.2.8 Database Driver & Versionsqlsrv & pdo_sqlsrv version 5.11.0, SQLSERVER 2019 Standard (10.0) DescriptionThe behaviour is kinda strange, i'm able to navigate and use the application normally via browser but when trying to test it via PEST a PDOException gets thrown. Below the stack trace with the exception message
My
Steps To Reproduce
|
Beta Was this translation helpful? Give feedback.
-
I also tried lowering the php version to |
Beta Was this translation helpful? Give feedback.
-
Okay, found the culprit. Apparently the pdo_sqlsrv & sqlsrv drivers were not correctly installed, both on my ubuntu machine (which is using php-fpm) and locally on my macos machine (plain php installed view homebrew) after that, I was able to run my tests via pest without problems! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
10.4.1
PHP Version
8.2.8
Database Driver & Version
SQLSERVER2014 for windows server 2016 datacenter
Description
This machine is macOS Ventura 13.14.1 and was previously able to connect to it. However, after updating the brew package, I have been constantly prompted for this issue. I have tried many solutions, but they still do not work
Steps To Reproduce
[previous exception] [object] (PDOException(code: 20002): SQLSTATE[01002] Adaptive Server connection failed (x.x.x.x) (severity 9)
Beta Was this translation helpful? Give feedback.
All reactions