MySQL Forums
Forum List  »  Newbie

mysql commandline tool --port broken
Posted by: Bin Tan
Date: March 25, 2005 09:07AM

the "mysql" command allows me to use any ridiculous number after "--port=", even "80", as shown below. I can even use a random string like "abcd" in place of "80".

Exactly what I want to do? I need to experiment with the "mysql" commandline tool together with tcpdump. So far, my tcpdump command cannot detect *any* thing about mysql.

yes my tcpdump can detect http traffic.
yes my tcpdump can detect something when i run "telnet loalhost 3306".

------------- snip ---------------
$ mysql -u xxx -pxxxxxx -h localhost --port=80 -vvv
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8319 to server version: 3.23.58

Reading history-file /home/httpd/vhosts/portal.crpp.servy.net/.mysql_history
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

Options: ReplyQuote


Subject
Written By
Posted
mysql commandline tool --port broken
March 25, 2005 09:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.