eclipse with mysql connection [message #659678] |
Tue, 15 March 2011 08:45 |
shantha 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
|
|
|
Powered by
FUDForum. Page generated in 0.07358 seconds