Showing posts from May, 2017

How to connect Java Eclipse to MySQL Server?

JDBC connectivity to MySQL Server Steps:1.Download MySQL JDBC Driver from

2.  After downloading the zip file, extract it and add this .rar file to lib folder of eclipse project. learn how to add .rar file to the eclipse folder by following the steps(1-5) from this post.

3.Make a class file and paste the following code.
import java.sql.*; //import the all valuable stuffs frm SQL
public class driver {
public static void main(String[] args) { // TODO Auto-generated method stub try{
//Get connection Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/new","root","root"); // here , new is the name of database that i created from MySQL Workbench, first root is my username of sql server and second root is my password.  // make statement Statement st=con.createStatement(); //execute sql query ResultSet rs=st.executeQuery("select *…

How to download and install MySQL server with Workbench?

Download and install MySQL server with MySQL WorkbenchMySQL is an open-source relational database management system (RDBMS) which is the world's most popular open source database. With its proven performance, reliability, and ease-of-use, MySQLhas become the leading database.

MySQL Workbench is a unified visual tool for database architects, developers, which provides data modeling, SQL development. MySQL Workbench is a visual database design tool that integrates SQL development, administration, database design, creation and maintenance. MySQL Workbench is a visual database design tool recently released by MySQL AB. The tool is specifically for designing MySQL database.

Learn how to download and install these tool in a simple way.
Go to and click on Downloads.

2. Click on the Community.

3.Click on the MySQL Community Server

4. Click on the Go to downloaded page.

5. click on download.

Finally it will be downloaded to you computer. Afterward it is required to install it.
Follow …

How to find the similarity between two words in java using wordnet?

WordNet is a lexical database of the english language.

Here is my prjoect to find the similarity between two word using WS4J in java using eclipse editor.

First of all download two jar files.
2. ws4j-1.0.1.jar

Now you have to add these jar files into your java project as shown below:

Steps(1-6) for adding .rar file to the eclipse

1. create a folder by name "lib" in your project.

2. Now copy the two downloaded jar file and paste to this lib folder.

3. Right click on your project>> select build path>> configure build path.

4. click on the add jar

5. Select your project>> lib folder>> the two jar files.

6. Click OK.

7.Now move towards the coding part.
copy this code and paste to the class file

import edu.cmu.lti.lexical_db.ILexicalDatabase;
import edu.cmu.lti.lexical_db.NictWordNet;
import edu.cmu.lti.ws4j.RelatednessCalculator;
import edu.cmu.lti.ws4j.impl.HirstStOnge;
import edu.cmu.lti.ws4j.impl.JiangConrath;
import edu.cmu.lti.ws4j.impl.LeacockChodo…

What are the benefits of doing a PhD?

Many people comments on PhDians that that are mad. Believe me, It is true. and i have been experienced it. But they never confess it.Actually you will be realized it after completion of one year or more of your PhD. The reason is that you will be totally embarked in your study.What other say you, whether anyone abusing or praising whatever, you will will not be bothered. The thing is you will love your research work. You will be in your own world, having running experiments on your mind or any algorithms creating strategy.
There are many Benefits of doing a PhD.Independent.More career opportunities.ExcitementWorth KnowledgeStipendPhD's know how to deal with boss.Never afraid of failure, they learn from it.They create information.Practical experience.Self Motivated.Stable career.Patience.
At present, i am a PhD student in my fourth year in Computer Science. So i am able to write this post. After these years, i learn to think independently and learn how to solve the problems with lib…

Correction Sentences English Grammar Exercises for the Bank / SSC

English is required in almost all the domains, whether it is in the research field, you are preparing for the competitive exams or you preparing for the IELTS etc; Here we have provided with very and most used examples. When i was also preparing for the competitive exam, i followed some English lectures in order to get maximum marks. And in this post i am sharing the the most important examples which will complete almost all the error corrections problems. I hope, it will help you in covering the English syllabus. Incorrect: You can get all the information that you want in this book. Correct: You can get all the information you want in this book. Incorrect: He has played neither cricket nor hockey. Correct: He has neither played cricket nor hockey. Incorrect: My work is superior to him. Correct: My work is superior to his work. Incorrect: I went there with a view to survey the entire procedure. Correct: I went there with a view to surveying the entire procedure. Incorrect: I am looki…