Getting Started with JDBC

Source: Internet
Author: User
Tags mysql client

1.1 Working with database methods before

1) Log in to the database server via the MySQL client tool (or log in to the database using cmd: mysql-u root-p password)

2) Writing SQL statements

3) Send SQL statement to database server execution

1.2 What is JDBC?

The technique of sending SQL statements using Java Code (Programs) is JDBC Technology!

In order to simplify and unify the operation of database, Sun Company defines a set of Java Operation Database Specification (interface), called JDBC. This interface is implemented by the database vendor, so that developers can manipulate the database by simply learning the JDBC interface and loading the specific driver through JDBC.

1.3 using JDBC to send SQL premises

Connecting to the database server

IP address of database: Port number/database name

Database user Name


Getting Started with JDBC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.