in visual studio when we make a project in c# with backhand as sql........we can see the sql file and we have to locate it in the corresponding place and specify that location........but in netbeans when we make a project in java and backhand as mysql.....we cannot see where that file locates.........can anyone tell me where that file(my database file in mysql)locates...............

check the mysql "current working directoy" (although I don't believe it will be there) and try printing the Java program "current working directory" and check there.

System.out.println(System.getProperty("user.dir"));

Edit: And I have no idea what this has to do with "making a connection permananet".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.