Hi If you want to change port from eg 3306 to 3308 then edit the [mysqld] section in the my.ini file in \winnt to :
[mysqld] port=3308 Save the file, then restart the service. To check if the port opened succesfully do "netstat -a" in the command prompt. If that doesn't work, then email me back. Best Regards Girish ----- Original Message ----- From: "Paul Damstra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 05, 2002 10:56 PM Subject: Changing Ports > I am running MySQL (v 3.23.43) on a Win NT server and require an applet to > communicate with the database. Unfortunately the ISP has blocked all > access to port 3306 at the router, which I think is the cause for my not > being able to load any data in the applet (Meanwhile, beans served up > through Tomcat are processed with no problems.). > > My question is, how can I change the port MySQL listens on? Is there a way > other than recompiling the source files? I have tried adding a startup > parameter to the MySQL service (-P option), I have tried addressing a new > port in the my.cnf file, I have even tried changing the port through > MySQLAdmin, all with no luck. I have gone through the manual, but the > information here doesn't really help much in this regards. > > Any help would be greatly appreciated. > Many thanks, > Paul > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php