why am I getting "An exception occurred: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException" : i have already started the mysql server
[enter image description here][1]


  [1]: https://i.stack.imgur.com/Iptpk.png

but on executing the statement

    sqlcon = DriverManager.getConnection(SQLConnection.getUrl(), 
    SQLConnection.getUser(), SQLConnection.getPassword());

where

    SQLConnection.getUrl() = "jdbc:mysql://localhost:3306/dataValdb"
    SQLConnection.getUser() = "root"
    SQLConnection.getPassword() = "mypassword"

i get An exception occurred: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException	
