Skip to content

Commit

Permalink
Fix CI and solve dbcli#1146
Browse files Browse the repository at this point in the history
  • Loading branch information
lazmond3 committed Oct 30, 2024
1 parent e766643 commit 6b2838e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mycli/packages/filepaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def guess_socket_location():
for r, dirs, files in os.walk(directory, topdown=True):
for filename in files:
name, ext = os.path.splitext(filename)
if name.startswith("mysql") and ext in ('.socket', '.sock'):
if name.startswith("mysql") and name != "mysqlx" and ext in ('.socket', '.sock'):
return os.path.join(r, filename)
dirs[:] = [d for d in dirs if d.startswith("mysql")]
return None

0 comments on commit 6b2838e

Please sign in to comment.