-
Notifications
You must be signed in to change notification settings - Fork 0
JDBC (Java Database Connectivity) is an API (Application Programming Interface) in Java that provides methods and classes to enable Java applications to interact with databases. It allows Java programs to execute SQL statements and manage connections to a database.
LohithKumar01/JDBC
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
//Below command will run the mysqlDB with port 3306 docker run --name mysqldb -e MYSQL_ROOT_PASSWORD=admin -p 3306:3306 -d mysql:latest //Command to check DB is running on port (windows) telnet localhost 3306 //Login goto the mysqlDB container. //bash is a unix command line. docker exec -it mysqldb bash //To login to the DB mysql -u root -p //To create the EmployeeDB CREATE DATABASE IF NOT EXISTS EmployeeDB; //it will show all DB's running inside mysql show databases
About
JDBC (Java Database Connectivity) is an API (Application Programming Interface) in Java that provides methods and classes to enable Java applications to interact with databases. It allows Java programs to execute SQL statements and manage connections to a database.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published