Please make the mysql-socket-file location a configure-option

Bug #1038656 reported by coldtobi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
New
Undecided
Unassigned

Bug Description

I think /var/run/drizzle/mysql.socket is more sane (reading the FHS) than /tmp/mysql.socket.

Revision history for this message
coldtobi (tobi-coldtobi) wrote :

Note: The attached branch changes the default location to /var/run/drizzle/mysql.socket.
However, /var/run/drizzle needs to be created e.g. by the init.d / upstart file with the proper permissions/ownerships.

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 1038656] [NEW] Please default the mysql-socket-file to /var/run/drizzle/ and not to /tmp/

Excerpts from coldtobi's message of 2012-08-19 13:23:04 UTC:
> Public bug reported:
>
> I think /var/run/drizzle/mysql.socket is more sane (reading the FHS)
> than /tmp/mysql.socket.
>

FHS is a Linux standard, and makes no sense at all to people on other
Unix OS's[1]. Also /tmp/mysql.socket is the default on MySQL itself, so it
would make sense to match that for the least amount of confusion.

If its not a 'configure' option, that should be fixed, but otherwise,
I don't think /var/run/drizzle/mysql.socket makes any sense for the
source distribution of Drizzle (and, keep in mind that I am a Debian
and Ubuntu developer, so for my chosen platforms, this would make the
packaging simpler, but I still think its the wrong approach).

1. http://lists.freebsd.org/pipermail/freebsd-fs/2011-May/011442.html

coldtobi (tobi-coldtobi)
summary: - Please default the mysql-socket-file to /var/run/drizzle/ and not to
- /tmp/
+ Please make the mysql-socket-file location a configure-option
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.