This is very intersting because when I use the same configuration with Hibernate, it works well:

<!-- mysql configuration --> <property name="connection.url">jdbc:mysql://localhost/tpsg</property> <property name="connection.username">root</property> <property name="connection.password">password</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="dialect">org.hibernate.dialect.MySQLDialect</property> -------------------------------------------------------- And when I use another DB as bellow, it works as well: