jcrodriguezt / laravel-sybase

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

problem with TDS stream #5

Open maryxis opened 1 year ago

maryxis commented 1 year ago

On a fresh installation of Laravel:latest, on xampp with php 8.1, i'm trying to connect to sybase and i'm getting the following error : [Microsoft][ODBC Driver 17 for SQL Server]Protocol error in TDS stream.

Could anyone help me fix this out?

jcrodriguezt commented 1 year ago

Hi @maryxis , Sorry I get to you this late. The thing is that in order to connect to Sybase you must use a linux based server. Let's say you have a Virtualbox or VMware VM, a docker container or my special recommendation for us Windows users: Laravel Homestead

Inside the Linux vm or container you must have freetds installed.

I'm writing a guide (not ready yet) to help everyone get it running.