Apr-23-2018, 05:16 AM
-blr1-01:/# sudo apt install python-mysqldb
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-mysqldb is already the newest version (1.3.7-1build2).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
-blr1-01:/# sudo apt install python-mysql.connector
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mysql-connector-python
The following NEW packages will be installed:
python-mysql.connector
0 upgraded, 1 newly installed, 1 to remove and 4 not upgraded.
Need to get 86.9 kB of archives.
After this operation, 833 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://sgp1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 python-mysql.connector all 2.0.4-1 [86.9 kB]
Fetched 86.9 kB in 0s (160 kB/s)
(Reading database ... 259377 files and directories currently installed.)
Removing mysql-connector-python (8.0.11-1ubuntu16.04) ...
Selecting previously unselected package python-mysql.connector.
(Reading database ... 259291 files and directories currently installed.)
Preparing to unpack .../python-mysql.connector_2.0.4-1_all.deb ...
Unpacking python-mysql.connector (2.0.4-1) ...
Setting up python-mysql.connector (2.0.4-1) ...
-blr1-01:/# sudo apt install python-pymysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-pymysql-doc
The following NEW packages will be installed:
python-pymysql
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 56.4 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 python-pymysql all 0.7.2-1ubuntu1 [56.4 kB]
Fetched 56.4 kB in 0s (115 kB/s)
Selecting previously unselected package python-pymysql.
(Reading database ... 259348 files and directories currently installed.)
Preparing to unpack .../python-pymysql_0.7.2-1ubuntu1_all.deb ...
Unpacking python-pymysql (0.7.2-1ubuntu1) ...
Setting up python-pymysql (0.7.2-1ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-mysqldb is already the newest version (1.3.7-1build2).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
-blr1-01:/# sudo apt install python-mysql.connector
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mysql-connector-python
The following NEW packages will be installed:
python-mysql.connector
0 upgraded, 1 newly installed, 1 to remove and 4 not upgraded.
Need to get 86.9 kB of archives.
After this operation, 833 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://sgp1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 python-mysql.connector all 2.0.4-1 [86.9 kB]
Fetched 86.9 kB in 0s (160 kB/s)
(Reading database ... 259377 files and directories currently installed.)
Removing mysql-connector-python (8.0.11-1ubuntu16.04) ...
Selecting previously unselected package python-mysql.connector.
(Reading database ... 259291 files and directories currently installed.)
Preparing to unpack .../python-mysql.connector_2.0.4-1_all.deb ...
Unpacking python-mysql.connector (2.0.4-1) ...
Setting up python-mysql.connector (2.0.4-1) ...
-blr1-01:/# sudo apt install python-pymysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-pymysql-doc
The following NEW packages will be installed:
python-pymysql
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 56.4 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 python-pymysql all 0.7.2-1ubuntu1 [56.4 kB]
Fetched 56.4 kB in 0s (115 kB/s)
Selecting previously unselected package python-pymysql.
(Reading database ... 259348 files and directories currently installed.)
Preparing to unpack .../python-pymysql_0.7.2-1ubuntu1_all.deb ...
Unpacking python-pymysql (0.7.2-1ubuntu1) ...
Setting up python-pymysql (0.7.2-1ubuntu1) ...