I have a java applet on my website and i need it to connect to my mysql database. When I was trying to figure out how to do this i saw several examples that used jdbc. I'm confused can I use this to connect to my mysql data base at mysql.mysite.com. I am using a web hosting service(dreamhost) for my website. The line that is confusing me the most is
String url = "jdbc:mySubprotocol:myDataSource";