Quantcast
Channel: Why does the MySQL command line tool ignore the --port parameter? - Server Fault
Browsing latest articles
Browse All 2 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
Browsing latest articles
Browse All 2 View Live




Latest Images