↧
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 ArticleWhy 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 ArticleAnswer 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