Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » eclipse with mysql connection
eclipse with mysql connection [message #659678] Tue, 15 March 2011 08:45
shantha  is currently offline shantha Friend
Messages: 2
Registered: January 2011
Junior Member
hi..
i have a problem in connecting to mysql connection...

i want to access the databases from other system using mysql in eclipse.
i tried few thing for that like in connection

1.Connection con=DriverManager.getConnection("jdbc:mysql://localhost/test", "root", "ssn");
instead of localhost i gave the ip of the system to be connected,and user and password as per the mysql setup of other system.
2window->preference->general->network connection-->active provider,i changed it to manual and add the host ip.


when i did this...i showed an errror stating that the permission for that particular ip is denied..

so used GRANT ALL PRIVILEGES...

now its showing communication link error.....dont know wher i went wrong?

and wher this method is right approach are not??


is they any other way to to access database from one system to another???


pls...plss help me
Previous Topic:Focus window in Eclipse
Next Topic:Problem in installing EMF in eclipse 3.6?
Goto Forum:
  


Current Time: Fri Apr 26 21:37:05 GMT 2024

Powered by FUDForum. Page generated in 0.07358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top