Hi David,

On 04/03/11 22:44, David Murphy wrote:
It doesn’t appear I can tell drizzled.cnf to have socket=XXXX” so that
my mysql clients can use a socket. Also via the RPM’s it appears the
unix-mysql-socket plugin is not currently available.

The setting in the cnf file will be "mysql-unix-socket-protocol.path" and by default it should be /tmp/mysql.socket. This is because "mysql-unix-socket-protocol" is the plugin name and "path" is the option.

It should be a statically compiled-in plugin in the RPMs. You can confirm it is in by doing:

drizzled --help | grep socket

Is there currently a work around to use mkfifo to create a socket file
so mysql/php can connect to a sock file when using the localhost name?

I know you can do it via using 127.0.0.1 forcing a net connection not a
local file socket, but that seems less than optimal.

Many years ago I wrote a patch for libmysqlclient to force localhost to use TCP/IP. But you shouldn't need this.

Kind Regards
--
Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to