Open freak3dot opened 6 years ago
I configured an entry in /etc/odbc.ini. Then, I determined that I was able to connect to that with PDO in a simple quick script just for that.
/etc/odbc.ini
[ExampleEntry] Driver = FreeTDS Description = Example Description Trace = No Server = 192.168.x.x Port = 1433 TDS version = 0.95
I expected to be able to connect with the dsn: odbc:ExampleEntry in the laravel application. However, Database and Driver are always added to the dsn.
odbc:ExampleEntry
Maybe this is something that isn't supported intentionally because we would rather have all the configuration in the .env file?
I configured an entry in /etc/odbc.ini. Then, I determined that I was able to connect to that with PDO in a simple quick script just for that.
/etc/odbc.ini
I expected to be able to connect with the dsn:
odbc:ExampleEntry
in the laravel application. However, Database and Driver are always added to the dsn.Maybe this is something that isn't supported intentionally because we would rather have all the configuration in the .env file?