I used to use the mildew treatment by Zep sold at HD. It did a good job but is basically bleach so clothes, stictch etc. can be affected. It also has to be rinsed off well.
I stooped using it 2 years ago after experiencing several instances where it didn't seem to work like it used to. I either got bad batches or they changed the formula.
Now I have been using a product called MDR Mold Away. It takes a bit longer to dissolve the mold spots but it does work well, is not as caustic as other products and doesn't burn your lungs.
When using chlorine based chemicals, be sure to rinse especially gel coat. Bleach can turn gel coat yellow
Note that if you have pink mold on your vinyl , there is not much you can do to eliminate it short of new upholstery.