I'm fairly new to working with web servers and databases. I've recently installed apache, mysql, and php to my windows xp machine. I have the server and php work, but the mysql db cannot be connected through localhost. I believe it might just be a port problem, but I don't know how to check this. Can someone tell me how to change the port on the db server?

    most likely, since your running on localhost the port most likely defaulted to 80

      4 days later

      From the admin CLI it's:

      #mysqladmin --port=8000

      to assign port #8000.

        Write a Reply...