]> source.dussan.org Git - nextcloud-server.git/commit
Work with MySQL Sockets
authorjosh4trunks <joshruehlig@gmail.com>
Thu, 5 Jun 2014 05:50:23 +0000 (22:50 -0700)
committerjosh4trunks <joshruehlig@gmail.com>
Thu, 5 Jun 2014 05:50:23 +0000 (22:50 -0700)
commite77c9bb97ed56d30c08f7d7ea9c06dd80ac9467b
tree5da81f74720f0fc6d675409fb74b0e0496d9ce74
parent39eeb7def9cad026698d2b6a97bde8a8e1b34d50
Work with MySQL Sockets

This passes anything that is not a valid port (0<int<65535) as a unix socket.
I tested this with unix sockets; this needs to be tested with a non-standard mysql port as well but I don't foresee any issues.

To use a unix socket, even one different than PHP's mysql.default_socket..
* Database Host = localhost:/path/to/socket
lib/private/db.php