View Full Version : [ubuntu] Connection to DB over Internet Using Java

Black Mage
June 27th, 2008, 02:02 PM
Hey, I'm writing a program connects to a MySQL Database over the internet and uses the standard driver provided by MySQL. Now the questions I have is

1) Secure

Is doing this secure? Like is the username and password that connects to the database visible and easily sniffed or is it encrypted?


I'm using a gigaport switch but the connection is slow when I come through the internet even though my connection speed is12 Mbps provided by the ISP. Does connecting to a MySQL DB using the the MYSQL driver in Java require more than 12 Mbps to function at an acceptable rate? Because it takes like 30 seconds just to connect to the db externally, but is much faster when I keep it internal.