first of all make sure your url connection is correct
<property name="connection.url">
jdbc:mysql://localhost/
firsthibernate</property>
second: make sure you have download mySQL connect from here
http://www.mysql.de/products/connector/j and add the jar file to your library
good luck