Quantcast
Channel: Why does the MySQL command line tool ignore the --port parameter? - Server Fault
Browsing latest articles
Browse All 3 View Live

Answer by HUB for Why does the MySQL command line tool ignore the --port...

When localhost parameter given, MySQL uses sockets. Use 127.0.0.1 instead.

View Article


Why does the MySQL command line tool ignore the --port parameter?

This is what I'm doing: mysql --host=localhost --port=9999 mysql -u root -p --execute="show tables;" The command works (connecting to port 3306) no matter what I provide in --port argument. I have two...

View Article


Answer by Donghua Liu for Why does the MySQL command line tool ignore the...

Only connection options that are relevant to the selected transportprotocol are used or checked. Other connection options are ignored.For example, with --host=localhost on Unix, the client attempts...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>