2021-05-10 11:10:53 -06:00
|
|
|
#
|
|
|
|
# MDEV-14974: --port ignored for --host=localhost
|
|
|
|
#
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost -e "status" 2>&1 | findstr /c:"Connection:"
|
2021-05-10 11:10:53 -06:00
|
|
|
Connection: localhost via TCP/IP
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost --port=MASTER_MYPORT -e "status" 2>&1 | findstr /c:"Connection:"
|
2021-05-10 11:10:53 -06:00
|
|
|
Connection: localhost via TCP/IP
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost --port=MASTER_MYPORT --socket=MASTER_MYSOCK -e "status" 2>&1 | findstr /c:"Connection:"
|
2021-05-10 11:10:53 -06:00
|
|
|
Connection: localhost via TCP/IP
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost --protocol=pipe -e "status" 2>&1 | findstr /c:"Connection:"
|
2021-05-10 11:10:53 -06:00
|
|
|
Connection: localhost via named pipe
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost -W -e "status" 2>&1 | findstr /c:"Connection:"
|
2021-05-10 11:10:53 -06:00
|
|
|
Connection: localhost via named pipe
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost -W --socket=MASTER_MYSOCK -e "status" 2>&1 | findstr /c:"Connection:"
|
2023-06-29 18:34:34 +07:00
|
|
|
Connection: localhost via named pipe
|
2023-04-25 21:16:43 +03:00
|
|
|
# exec MYSQL --host=localhost --socket=MASTER_MYSOCK -e "status" 2>&1 | findstr /c:"Connection:"
|
|
|
|
Connection: localhost via TCP/IP
|
2023-06-29 18:34:34 +07:00
|
|
|
#
|
|
|
|
# MDEV-30639: Upgrade to 10.8 and later does not work on Windows
|
|
|
|
# due to connection protocol overwrite
|
|
|
|
#
|
|
|
|
# exec MYSQL --host=localhost --protocol=pipe --socket=MASTER_MYSOCK -e "status" 2>&1 | findstr /c:"Connection:"
|
|
|
|
Connection: localhost via named pipe
|