0% found this document useful (0 votes)
8 views

02 - MySQL Connector

Uploaded by

Juan Dela Cruz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

02 - MySQL Connector

Uploaded by

Juan Dela Cruz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

MYSQL CONNECTOR

MySQL Connector is a set of drivers that allow you to connect to and interact with MySQL databases from
a variety of programming languages and platforms. MySQL Connectors are developed and maintained by
the MySQL community, and they are free to use.

There are a variety of MySQL Connectors available, including:

1. MySQL Connector/J: A JDBC driver for MySQL, which allows Java programs to connect to MySQL
databases.
2. MySQL Connector/NET: An ADO.NET driver for MySQL, which allows .NET programs to connect
to MySQL databases.
3. MySQL Connector/ODBC: An ODBC driver for MySQL, which allows any ODBC-compliant
program to connect to MySQL databases.
4. MySQL Connector/Python: A Python driver for MySQL, which allows Python programs to
connect to MySQL databases.
5. MySQL Connector/C: A native C library for MySQL, which allows developers to embed MySQL
directly into their applications.

To use a MySQL Connector, you will need to download and install the appropriate driver for your
programming language and platform. Once the driver is installed, you can use it to connect to your MySQL
database and perform database operations, such as querying data, inserting new data, and updating
existing data.

Download MySQL Connector

1. Open your web browser and type the following keywords.


2. Click the link “MySQL::Download Connector/J in the search result.

3. Select “Platform-Independent” for the “Operating System”.


4. Select “Platform Independent (Architecture Independent).ZIP Archive. Click the “Download”
button.

5. Click the “No thanks, just start my download” link.


INSTALLING THE MYSQL CONNECTOR

1. Open the “Download” folder. Right-click on the zip file, select “Extract All”.

2. Open the extracted folder. Copy the file “mysql-connector-j-8.1.0.jar”

3. Create a folder on logical drive C or logical drive D and name it “MyConnector”.


4. Paste the file “mysql-connector-j-8.1.0.jar” on this folder.

ADDING THE MYSQL CONNECTOR IN YOUR PROJECT

1. Open NetBeans
2. Create a new project and name it “StudentApps”.
3. Create a frame in your “StudentApps”. Name the frame as “StudentAppsFrame”.

4. Right-click on the “Libraries”. Select “Add Jar/Folder”.


5. Open the folder where the MySQL connector is located. Select the file and click the “Open”
button.

6. Expand the libraries. The MySQL will is now added.

You might also like