< Home - < Back

MySQL-python


Information about the package, MySQL-python, which is shipped with common Linux distributions. The MySQL-python package is designed for, An interface to MySQL.


Package Name:

MySQL-python

Summary:

An interface to MySQL

Description:

Python interface to MySQL MySQLdb is an interface to the popular MySQL database server for Python. The design goals are: - Compliance with Python database API version 2.0 - Thread-safety - Thread-friendliness (threads will not block each other) - Compatibility with MySQL 3.23 and up This module should be mostly compatible with an older interface written by Joe Skinner and others. However, the older version is a) not thread-friendly, b) written for MySQL 3.21, c) apparently not actively maintained. No code from that version is used in MySQLdb.

Architecture:

x86_64

Version:

1.2.3

Release:

0.3.c1.1.el6

Size:

86 k

Repository:

base

From Repository:

Licence:

GPLv2+



Handy Yum Commands for MySQL-python


Control the MySQL-python package with the following handy commands outlined below.


Command

Description of Command

yum install MySQL-python

This command will install MySQL-python on the server.

yum remove MySQL-python

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

yum -y remove MySQL-python

This command will un-install MySQL-python 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-python when using the -y flag.

yum update MySQL-python

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

yum -y update MySQL-python

This command will update MySQL-python 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-python when using the -y flag.

yum info MySQL-python

This command will show you core information about the MySQL-python package.

yum deplist MySQL-python

This command will show you the dependencies for MySQL-python. 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-python

This command will check if there is an update waiting on MySQL-python. 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.