Python Forum
MariaDB Connector/Python; version mismatch
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MariaDB Connector/Python; version mismatch
#1
Good-morning,

When run a script to test connectivity with the local MariaDB instance I receive the following error:

'ImportError: MariaDB Connector/Python was build with MariaDB Connector/C 3.3.12, while the loaded MariaDB Connector/C library has version 3.3.10.'

Background, recently deployed Ubuntu 24.04.05 LTS server with DirectAdmin installed. Python 3.10.12, MariaDB Ver 15.1 Distrib 10.6.20-MariaDB.

Installed the Python connector using : pip install mariadb

What should I be downgrading / upgrading in this instance?

Thank you.
Reply
#2
It is generally better to upgrade Connector/C to the latest version (3.3.12) for the best compatibility and security updates.
shopgeek likes this post
Our Scratch project: scratch geometry dash
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find out from outside Python (in Windows) the current version of Python? pstein 5 2,537 Jun-28-2024, 07:02 AM
Last Post: Samuel34
Question No disconnect method for snowflake.connector ? Calab 0 885 Jun-11-2024, 09:42 PM
Last Post: Calab
  run part of a script with a different version of Python jdog 3 2,571 May-27-2024, 01:57 AM
Last Post: Alice12
  How to resolve version conflicts in Python? taeefnajib 0 2,297 Apr-27-2023, 08:37 PM
Last Post: taeefnajib
  Python venv and PIP version issue JanOlvegg 2 4,046 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
  Python Version upgrade nitinkukreja 1 1,834 Feb-04-2023, 10:27 PM
Last Post: Larz60+
  Can't update new python version on Pycharm GOKUUUU 6 8,185 Jul-23-2022, 09:24 PM
Last Post: GOKUUUU
Question I am struggling with basic json library + sql alchemy w/ mariadb-connector json ->sql BrandonKastning 0 2,340 Mar-04-2022, 09:26 PM
Last Post: BrandonKastning
  Building python (3.9.5) with different libexpat version (2.4.6) raghupcr 0 1,947 Feb-25-2022, 11:29 AM
Last Post: raghupcr
Question Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems BrandonKastning 4 8,787 Feb-05-2022, 08:25 PM
Last Post: BrandonKastning

Forum Jump:

User Panel Messages

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