Laravel SqlSrvDB error : An existing connection was forcibly closed by the remote host
I have issue when connected to SQL SERVER DB 2008R2 on laravel.
This is my error:-
SQLSTATE[08S01]: [Microsoft][ODBC Driver 11 for SQL Server]TCP Provider: An existing connection was forcibly closed by the remote host.
(SQL: select * from [contact] where [vduid] = 578ff36e00000000ac149062232f0002)
config inside database.php
file:-
'sybaseuepg-aluno' => [
'driver' => 'sqlsrv',
'host' => 'x.x.x.x',
'database' => 'dbname',
'username' => 'username',
'password' => 'password',
'charset' => 'utf8',
'prefix' => '',
],
from Laravel Questions and Answers https://laravelquestions.com/laravel/laravel-sqlsrvdb-error-an-existing-connection-was-forcibly-closed-by-the-remote-host/
via Lzo Media
No comments:
Post a Comment