Database Connection

Hi,
How to creating connection to mysql.I try to connect but the following error coming .How to solve it.

Could not connect to New MySQL.
Error creating SQL Model Connection connection to New MySQL. (Error: com.mysql.jdbc.Driver)
com.mysql.jdbc.Driver
Error creating JDBC Connection connection to New MySQL. (Error: com.mysql.jdbc.Driver)
com.mysql.jdbc.Driver

how you are connecting ?

post the code.

can i get keyboard shortcuts as in windows ?