-1

I have a problem while trying to connect to my database. I have on my windows pc a java app and in a Linux virtual Machine (Ubuntu) a mysql Database. Is there anything i need to configure in order to connect my java app to my mysql database?

Thanks

MMM
  • 3,132
  • 3
  • 20
  • 32

2 Answers2

0

First make sure that you are able to connect to the database server from your windows machine(cmd). If you not able to, give the necessary permission for the user in your mysql server.

http://stackoverflow.com/questions/13752424/how-to-connect-from-windows-command-prompt-to-mysql-command-line
Gopu
  • 1,022
  • 2
  • 11
  • 20
0

What was happening was that when you install postgres in linux, you have to set a password, i mean it hasnt came with a pass