< Home - < Back

mysql-connector-java


Information about the package, mysql-connector-java, which is shipped with common Linux distributions. The mysql-connector-java package is designed for, Official JDBC driver for MySQL.


Package Name:

mysql-connector-java

Summary:

Official JDBC driver for MySQL

Description:

MySQL Connector/J is a native Java driver that converts JDBC (Java Database Connectivity) calls into the network protocol used by the MySQL database. It lets developers working with the Java programming language easily build programs and applets that interact with MySQL and connect all corporate data, even in a heterogeneous environment. MySQL Connector/J is a Type IV JDBC driver and has a complete JDBC feature set that supports the capabilities of MySQL.

Architecture:

noarch

Version:

5.1.17

Release:

6.el6

Size:

1.4 M

Repository:

base

From Repository:

Licence:

GPLv2 with exceptions



Handy Yum Commands for mysql-connector-java


Control the mysql-connector-java package with the following handy commands outlined below.


Command

Description of Command

yum install mysql-connector-java

This command will install mysql-connector-java on the server.

yum remove mysql-connector-java

This command will un-install mysql-connector-java on the server. When you run this command, you will be asked if you are sure that you want to remove mysql-connector-java, so you have to manually confirm that you want to do this.

yum -y remove mysql-connector-java

This command will un-install mysql-connector-java on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove mysql-connector-java when using the -y flag.

yum update mysql-connector-java

This command will update mysql-connector-java to the latest version. When you run this command, you will be asked if you are sure that you want to remove mysql-connector-java, so you have to manually confirm that you want to do this.

yum -y update mysql-connector-java

This command will update mysql-connector-java to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove mysql-connector-java when using the -y flag.

yum info mysql-connector-java

This command will show you core information about the mysql-connector-java package.

yum deplist mysql-connector-java

This command will show you the dependencies for mysql-connector-java. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update mysql-connector-java

This command will check if there is an update waiting on mysql-connector-java. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.