-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Instalation avec mysql
PostPosted: Sun Jul 31, 2005 6:39 pm 
Beginner
Beginner

Joined: Sun Jul 31, 2005 6:15 pm
Posts: 28
Hibernate version: 3.0.5

Bonjour à tous, apres avoir téléchargé Hibernate version: 3.0.5 j'ai voulu testé les exemples proposés avec MySql

Voici le fichier properties

Code:
hibernate.dialect org.hibernate.dialect.MySQLDialect
hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect
hibernate.connection.driver_class com.mysql.jdbc.Driver
hibernate.connection.url jdbc:mysql://localhost
hibernate.connection.username root
hibernate.connection.password *****



Puis en lançant "ant eg" le build échoue, le premier message d'erreur émis est le suivant :

Code:
[java] 07:31:14,156  INFO DriverManagerConnectionProvider:80 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost
[java] 07:31:14,156  INFO DriverManagerConnectionProvider:86 - connection properties: {user=root, password=****}
[java] 07:31:14,171  WARN SettingsFactory:103 - Could not obtain connection metadata
[java] java.sql.SQLException: No suitable driver


J'ai bien placé le jar du driver dans le réprtoire lib, mySql est bien démarré et capable de répondre sous ce login et ce mot de passe, pourtant c'est l'échec...

J'ai aussi changé le nom de class pour le driver org.gjt.mm.mysql.Driver mais le probleme est le même.


Toute indications seraient vraiment appréciées.

Michael.


Top
 Profile  
 
 Post subject: je me répond
PostPosted: Mon Aug 01, 2005 4:46 am 
Beginner
Beginner

Joined: Sun Jul 31, 2005 6:15 pm
Posts: 28
Voir ce thread


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.