Try this
Keep Your Connection String Object as follow
String connectionURL = "jdbc:mysql://localhost:3306/
songdb"
than create two Variables for UserName and Password
String uname="root";
String passwd="root"
and finally while creating connection object keep parameters as
follows
connection = DriverManager.getConnection(connectionURL,uname,
passwd);
else keep code as it is.
Best of Luck