ruby-mysql icon indicating copy to clipboard operation
ruby-mysql copied to clipboard

Error when using 'localhost' to connect in Windows

Open steelywing opened this issue 13 years ago • 1 comments

Windows can't use UNIXSocket, please fix, how to detect windows env?

steelywing avatar Mar 12 '13 08:03 steelywing

This fix actually work in Windows, but I understand that it would be better to detect Windows environment, because otherwise you won't be able to use "localhost" under Linux, if you want to. Thanks for providing a hardcoded solution @steelywing.

damian-m-g avatar Oct 28 '23 03:10 damian-m-g