0% found this document useful (0 votes)
17 views1 page

Mysql Steps

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 1

STEPS TO INSTALL MYSQL AND JDBC

 sudo apt-get install mysql-server



 sudo apt-get install mysql-client

 sudo apt-get install libmysql-java

 mysqladmin -u root password root Here username=rootPassword=root

 mysql -u root -p

Create SQL Databases and tables

 CREATE DATABASE WT; WT is database name

 USE WT

Setting up the user to use JDBC

 CLASSPATH=$CLASSPATH:/home/griet/Desktop/mysql-connector-java-3.1.14-
bin.jar

 export CLASSPATH

 echo $CLASSPATH

You might also like