# Author: Tobias Frost <tobi@coldtobi.de>
# Subject: Change default socket file for mysql-unix-socket-protocol from /tmp to /var/run/drizzle
# Forwarded: https://bugs.launchpad.net/drizzle/+bug/1038656
--- a/plugin/mysql_unix_socket_protocol/protocol.cc
+++ b/plugin/mysql_unix_socket_protocol/protocol.cc
@@ -37,7 +37,7 @@
 
 #include <plugin/mysql_unix_socket_protocol/protocol.h>
 
-#define DRIZZLE_UNIX_SOCKET_PATH "/tmp/mysql.socket"
+#define DRIZZLE_UNIX_SOCKET_PATH "/var/run/drizzle/mysql.socket"
 
 namespace po= boost::program_options;
 namespace fs= boost::filesystem;
