Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2002
    Baltimore, MD

    Unanswered: Server Port Question

    I'm trying to connect to a MySQL database remotely using the mysql tool. The server resides on a box running W2K. At the remote site I'm on a windows box using the mysql.exe tool. I can't connect, but don't know if it's because I don't have the port open on the server or if I need to specify the port in my shell string.

    1. On the server, how do I tell which port MySQL is listening on?
    2. Can I (and if so, how do I) specify a port to connect to? I'm currently using > mysql -uusername -p dbname

    Thanks for any help.
    Rob Wilkerson

  2. #2
    Join Date
    Dec 2001
    Toronto, Canada
    Use a capital -P to specify the port or --port=

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts