Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to acquire MySQLdb
#9
-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) ...
Reply


Messages In This Thread
How to acquire MySQLdb - by sunstar20 - Apr-21-2018, 05:29 AM
RE: How to acquire MySQLdb - by Larz60+ - Apr-21-2018, 05:49 AM
RE: How to acquire MySQLdb - by sunstar20 - Apr-21-2018, 05:58 AM
RE: How to acquire MySQLdb - by Gribouillis - Apr-21-2018, 06:55 AM
RE: How to acquire MySQLdb - by sunstar20 - Apr-21-2018, 07:27 AM
RE: How to acquire MySQLdb - by woooee - Apr-21-2018, 05:52 PM
RE: How to acquire MySQLdb - by sunstar20 - Apr-23-2018, 04:36 AM
RE: How to acquire MySQLdb - by Gribouillis - Apr-23-2018, 05:04 AM
RE: How to acquire MySQLdb - by sunstar20 - Apr-23-2018, 05:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to acquire an imported file creation time thunderspeed 4 1,978 Sep-23-2021, 04:27 PM
Last Post: Larz60+
  MySQLdb._exceptions.ProgrammingError: not enough arguments for format string. farah97 0 3,372 Jan-22-2020, 03:49 AM
Last Post: farah97
  Can't install MySQLdb/MySQL SirWeeble 0 2,616 Aug-28-2018, 01:07 AM
Last Post: SirWeeble
  MySQLdb, problem with query with user-defined variables buran 6 6,481 Feb-03-2017, 06:16 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020