Bug #5011 a space is needed at the beginning of socket specification

Submitted: 12 Aug 2004 4:36 Modified: 13 Aug 2004 9:31
Reporter: Matthew Lord Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.09a OS:Linux (Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any

[12 Aug 2004 4:36] Matthew Lord
Description:
To specify a non default socket to use when connecting to localhost, the first character is ignored.

I specified /tmp/mysql4020.sock which failed and I noticed that stderr showed it trying to use 
tmp/mysql4020.sock.  I put a space before / and it worked.

THIS ALSO HAPPENED WITH QUERY BROWSER 1.0.5.

How to repeat:
Start mysqld with --socket=/tmp/myfunky.sock

Specify localhost so a socket is used and specify the socketfile in the connection options.

Suggested fix:
Don't ignore the first char ;).
[12 Aug 2004 22:21] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.