Skip to content

jeongwhanchoi/jdbc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JDBC Connection Test

MySQL Install

mysql_community_server_download

  • Check the MySQL Server activated

mysql_activate

JDBC Driver for MySQL

jdbc_connector_download

  • Click Edit... button the below image to add mysql-connect-java-8.0.11.jar in the system library

jdbc_driver

  • Add the jar file via the Add External JARs... button

jdbc_driver2

Connection Test

cd /usr/local/mysql/bin

./mysql -u root -p

mysqlterminal

  • Create MySQL Database
    • create database demo;
      • Create demo database
    • show databases;
      • Check databases

showdatabases

JDBC Connecion Success

jdbc_test_success


Breakthrough