Skip to content

Commit 6b2838e

Browse files
committed
Fix CI and solve dbcli#1146
1 parent e766643 commit 6b2838e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mycli/packages/filepaths.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def guess_socket_location():
100100
for r, dirs, files in os.walk(directory, topdown=True):
101101
for filename in files:
102102
name, ext = os.path.splitext(filename)
103-
if name.startswith("mysql") and ext in ('.socket', '.sock'):
103+
if name.startswith("mysql") and name != "mysqlx" and ext in ('.socket', '.sock'):
104104
return os.path.join(r, filename)
105105
dirs[:] = [d for d in dirs if d.startswith("mysql")]
106106
return None

0 commit comments

Comments
 (0)