owncloud/core — pull request #9018 by bantu (2014-06-12 18:07:33+00:00)
Title: Refactor OC_DB::connect() to properly support sockets.

Replaces #8888
Based on #8888 by @josh4trunks
Fixes #3157 #3158 according to https://github.com/owncloud/core/pull/8888#issuecomment-45183324