• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with hibernate and mysql?

 
George Beck
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone

I want to run a .jar file, but the only way to run in my computer is with the command "java -jar file.jar ", but the problem is that the application conects to a mysql database, when I want to add something in the program appear a message that say "cannot open a conection", ant I get this in the ms dos console:
I hope you can help me, the application doesnt work, and I am desesperate !! what is the error?

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That will cause a problem.
 
George Beck
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but how can I solve it?

http://img59.imageshack.us/i/imagen2va.jpg/


I tried this:


but nothing happen
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct the user name spelling in the config/property file or datasource?
 
George Beck
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I do that?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edit it?
 
George Beck
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help and your time , the application works



Bye
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad you got it worked out :)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic