Bug #79756 Unable to connect to MySQL Server via Unix socket

Submitted: 23 Dec 2015 9:31 Modified: 29 Feb 2016 7:09
Reporter: Ivan Kostoski Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.9.8 OS:Linux
Assigned to: Assigned Account CPU Architecture:Any
Tags: protocol unix socket

[23 Dec 2015 9:31] Ivan Kostoski
Description:
Even when 'Protocol is' specified do be 'unix', in a connection string, Connector/NET first attempts to DNS resolve 'Server' parameter, which is specified as '/path/to/mysqld.sock' and throws an exception. 

How to repeat:
Use connection string 
"protocol=unix;server=/path/to/mysqld.sock"

Suggested fix:
Test for Protocol='unix' before attempting to DNS resolve 'Server' connection parameter
[30 Jan 2016 7:09] Chiranjeevi Battula
Hello Ivan Kostoski,

Thank you for the bug report.
Could you please provide repeatable test case (exact connection string, MySQL version etc. - please make it as private if you prefer) to confirm this issue at our end?

Thanks,
Chiranjeevi.
[1 Mar 2016 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

Page generated in 0.066 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.