An exception occurred in the driver: SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider:

kunte 0 Reputation points
2024-03-21T07:36:41.6633333+00:00

Am using macOs and using docker to run microsoft sql server the connection with the server is well established but when am trying to run migration i get errors

php vendor/bin/doctrine-migrations migrations:migrate

In ExceptionConverter.php line 67:

An exception occurred in the driver: SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:80000002:system library::No such file or directory:calling stat(/usr/local/

etc/openssl@3/certs)][error:80000002:system library::No such file or directory:calling stat(/usr/local/etc/openssl@3/certs)]

In Exception.php line 28:

SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:80000002:system library::No such file or directory:calling stat(/usr/local/etc/openssl@3/certs)][error:80000002:

system library::No such file or directory:calling stat(/usr/local/etc/openssl@3/certs)]

In Driver.php line 47:

SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:80000002:system library::No such file or directory:calling stat(/usr/local/etc/openssl@3/certs)][error:80000002:

system library::No such file or directory:calling stat(/usr/local/etc/openssl@3/certs)]

migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--db-configuration DB-CONFIGURATION] [--] [<version>]

SQL Server Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.