laravel icon indicating copy to clipboard operation
laravel copied to clipboard

Crash when database connection is via socket (so no host)

Open brucek2 opened this issue 5 years ago • 0 comments

It looks like src/GetDatabaseConfig:34 assumes there will be a 'host' index defined in the $connection array, although this will not be the case for a connection via socket vs. TCP/IP.

This is a bummer because it means if I want backup-manager/laravel installed I am forced to use the higher overhead TCP/IP connection for all of my application, even though the socket connection works fine for the rest of my Laravel app when backup-manager/laravel is not installed.

brucek2 avatar Jun 05 '20 19:06 brucek2