uepg / laravel-sybase

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

Ubuntu 18 laravel Sybase #62

Closed ConsSorto closed 4 years ago

ConsSorto commented 4 years ago

Describe the bug

I cant use this package, i install and make the changes but dont work with sybase base, when i try use the next instruction : DB::select("SELECT GETDATE") i recive the next error

Illuminate/Database/QueryException with message '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. (SQL: SELECT GETDATE)'

please i need help

nunomazer commented 4 years ago

Hi @Cons28

sorry but this package is not prepared/tested to be used with ODBC, we only support DBLIB for now.

ConsSorto commented 4 years ago

Thanks for the answer, i didnt have configuration in my server DBLIB, but now i have this configuration and work with this package. Thanks.