uepg / laravel-sybase

Connection and Laravel Eloquent driver for Sybase
GNU General Public License v2.0
33 stars 16 forks source link

SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]Client unable to establish connection because an error was encountered during handshakes before login. Common causes include client attempting to connect to an unsupported version of SQL Server, server too busy to accept new connections or a resource limitation (memory or maximum allowed connections) on the server. #82

Closed ivanwilliammd closed 3 months ago

ivanwilliammd commented 6 months ago

Describe the bug

I'm using XAMPP 8.1, have installed ODBC Driver 17 for SQL Server, Have also add pdo_sqlsrv, and sqlsrv extension and enabled it on php.ini Project : Laravel 10, laravel-sybase v3.0.0 Database : accessible on DBeaver using Sybase jConnect, but not accessible on Laravel

To Reproduce

Steps to reproduce the behavior:

  1. Install XAMPP PHP 8.1 on Laravel 10

  2. Add pdo_sqlsrv, and sqlsrv extension and enabled it on php.ini

  3. Add database.php config image

  4. See error image

Expected behavior

Connection able to start

Screenshots

Versions

Additional context

Add any other context about the problem here. If no have additional information, delete the section Additional information.

ivanwilliammd commented 3 months ago

Update : I use ODBC driver instead right now, since the Sybase DB version we have is the older one unsupported by this library.. thanks