Java Database Connectivity || How to connect MYSQL and NetBeans 21 ||
Coding with Sudhir Coding with Sudhir
2.68K subscribers
14,608 views
0

 Published On May 26, 2023

Hello Everyone! Today in this video I am going to step by step guide you How To connect to MySQL8.0.33 database with NetBeans 18 using Database Services tool , so you can work with and manage MySQL databases right inside NetBeans without having to use an external program like MySQL Workbench or MySQL Command Line Client .

----------------------------------------------------------------------------
In details , you will learn :-
►Download MySQL JDBC driver
►Make connection to a MySQL database
►Create a new table -
►Update data in a table -
►Execute SQL statements Line Client
►Record Navigation Using Java Mysql Step by Step Check More Projects

And I suppose that you're using these software programs : -
Java Development Kit ( JDK ) -
Apache NetBeans IDE -
MySQL Community server

►What is Java? Java is an object-oriented, class-based, high-level programming language used for software development, mobile application development, website development, desktop application development, and much more. Java is one of the leading and in-demand programming languages in the current IT industry.

►What is Java JDBC? Java JDBC stands as an abbreviation for Java Database Connection. Basically, Java JDBC is used as an interface or a plugin to connect the relational databases and other sources of real-time data with the Java software application.

►How to connect Java application with MySQL using NetBeans steps:-

►Downloading MySQL JDBC driver

►Extract and open the downloaded file. There will be a file named mysql-connector-java-8.0.33.jar

►Create a MySQL database.

►Configuring the NetBeans project

►Open NetBeans and create a new project by
Clicking File -New Project
From the Choose Project window, select Java-Java Application and click next.
Choose a project name and click Finish.
Expand the project folder and Right-click on Libraries.
Select Add JAR/Folder.
Select mysql-connector-java-8.0.33.jar and click open. Now you will see the jar file listed under Libraries.
Go to Window-Services.
Right-click on Databases and select New Connection.
Click Add and select mysql-connector-java-8.0.33 connectivity.jar file. From Driver drop-down, select MySQL (Connector/J driver). Click Next.
In the Customize Connection window, replace the Database name with the one you have created for the application. If you have not created a database, leave it as it is.
Click Test Connection.

If you get a Connection Succeeded message, you have connected your application with the MySQL database.
----------------------------------------------------------------------------
►Top Online Courses Tutorial for Beginners :

►How to download mysql 8.0.32
   • How to Install MySQL 8.0.37 Server an...  

   • How to install MYSQL 8.0.37 Server an...  

►How to download netbeans 18
   • How to install Apache NetBeans 16 & J...  

►About mysql workbench
   • How to create database in MySQL Workb...  

►About mysql client server
   • Create Database and Table in MYSQL  

►Hotel management project in java netbeans
   • Hotel Management System Complete Proj...  

►Loading Form designing in java netbeans
   • #02 Loading Screen for Hotel Manageme...  

----------------------------------------------------------------------------
Timestamp
00:00 Tutorial Introduction
00:30 Download Mysql Connector/J drivers
01:30 Unzip Downloaded files
03:12 Open NetBeans IDE And set Database Connectivity Configuration
05:17 Create a new Project in NetBeans IDE
07:30 Add mysql driver in project library
08:00 Writing Code for connecting Mysql and NetBeans
10:00 Finely Run project
----------------------------------------------------------------------------
►Like And Subscribe
----------------------------------------------------------------------------
►Video tag
#JavaJDBCTutorial #JDBCInJava #JavaDatabaseConnectivity #WhatlsJDBCInJava #JavaTutorialForBeginners #JavaProgramming
-------------------------------------------------------------------------------
Topic Covered
Connect mysql and java NetBeans
database connectivity in java
Database connectivity in netbeans 18
How to connect MySQL8.0.33 and NetBeans 18
How to connect mysql database in java using
what is database connectivity
record navigation in java
How to Connection mysql in netbeans
How to connect mysql 8.0.31 and netbeans 18
Java database connection jdbc and mysql
Java database connectivity theory
Java database connectivity with mysql in
How to connect mysql 8.0.31 and NetBeans 18
How to connect mysql database in java NetBeans
How to connect mysql database in java using eclipse in hindi
How to connect mysql database in java in hindi

👉Disclaimer --- Video is for educational purpose only . Copyright Disclaimer Under Section 107 of the Copyright Act 1976 , allowance is made for " fair use " for purposes such as criticism , comment , news reporting , teaching , scholarship , and research . Fair use is a use permitted by copyright statute that might otherwise be infringing . Non - profit , educational or personal use tips the balance in favor of fair use .

show more

Share/Embed