How to unsinstall MySQL from command line?

hello guys!

how can i uninstall a noinstall distribution of mysql 4.1 for windows from the command line?
thanks a lot.

if you have the service installed, use the command mysqld --remove to remove the service. if the service is named something other than mysql, you will need to specify that on the command line. see mysqld --help --verbose | more

then just delete the files.

thanks longneck, i thought uninstalling d mysql 4.1 service would solve my problem… i’m installing mysql 5.0 and i encountered an error “tcp/ip port 3306 already in use”… i cant use mysql due to this error… help please…

you need to stop the service before you can uninstall it.