MySQL Forums
Forum List  »  Connector/Python

Re: pooled connection trauma
Posted by: Nuno Mariz
Date: July 27, 2022 09:04AM

I'm not sure if I understand the question, but if you want to know what is the MySQL Connector/Python version you can get it as a string:

from mysql.connector import __version__
>>> print(__version__)
8.0.30


Or as a tuple:

from mysql.connector.version import VERSION
>>> print(VERSION)
(8, 0, 30, '', 1)
>>> print(VERSION[:3])
(8, 0, 31)

Options: ReplyQuote


Subject
Written By
Posted
Re: pooled connection trauma
July 27, 2022 09:04AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.