Closed danielhoherd closed 3 years ago
Hi!
I suspect #931. What happens when you add -P 3306
?
@rolandwalker Adding -P 3306
succeeds.
Thanks!
So the --socket
option broke back when mycli added SSH support. #931 was meant to fix --socket
. The patch was picked whole from a downstream packager (MacPorts). I wrongly assumed that it had already been sufficiently tested in the wild, and must be correct.
Will try to address this more carefully today.
mycli
1.23.0 looks for mysqld.sock when trying to connect via ip address using-u
-p
syntax, but not when usingmysql://
syntax.The problematic syntax works fine in 1.22.0
My mariadb server is running on my local IP address, but within docker, so mysqld.sock is not present on the local filesystem, but this would likely apply to other interesting networking situations, such as
ssh -L