-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation of mysqlclient fails on CentOS 7 because of missing constant MYSQL_OPT_SSL_ENFORCE #627
Comments
Too old. Unsupported. |
Not quite sure what the correct way to handle this problem would be. It seems like the default mariadb version on CentOS 7 is just too old? If so, an error message saying that would be appreciated. |
You shouldn't claim support for such a old Linux distribution to OSS maintainers. |
@methane I am sorry, did I claim that you need to support that version? I thought I was asking for an environment check for the the installed version of mariadb and erroring out on the install if that version is unsupported. I would hope that you don't get bug reports that way asking for support because it's clear that the current version of pymysql doesn't and will never support that version. |
https://endoflife.date/mariadb https://endoflife.date/mysql New mysqlclient release supports only supported MySQL/MariaDB. |
Describe the bug
Compilation of mysqlclient fails on CentOS 7 because of missing constant MYSQL_OPT_SSL_ENFORCE.
To reproduce
Environment
[root@7102c32a5bc7 /]# yum info mariadb-devel
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
Installed Packages
Name : mariadb-devel
Arch : aarch64
Epoch : 1
Version : 5.5.68
Release : 1.el7
Size : 3.3 M
Repo : installed
From repo : base
Summary : Files for development of MariaDB/MySQL applications
URL : http://mariadb.org
License : GPLv2 with exceptions and LGPLv2 and BSD
Description : MariaDB is a multi-user, multi-threaded SQL database server. This
: package contains the libraries and header files that are needed for
: developing MariaDB/MySQL client applications.
: MariaDB is a community developed branch of MySQL.
[root@7102c32a5bc7 /]# python --version
Python 3.8.13
[root@7102c32a5bc7 /]# cat /etc/release
CentOS Linux release 7.9.2009 (AltArch)
Derived from Red Hat Enterprise Linux 7.8 (Source)
NAME="CentOS Linux"
VERSION="7 (AltArch)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (AltArch)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7:server"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.9.2009 (AltArch)
CentOS Linux release 7.9.2009 (AltArch)
cpe:/o:centos:centos:7:server
How did you install libmysqlclient libraries?
yum install mariadb-devel
What version of mysqlclient do you use?
5.5.68
Docker command to start MySQL server
See https://gist.github.com/dwt/c8faf00644447c4c3da6021fe8b0a2be - reproduction was too long for here
Minimum but complete code to reproduce
Schema and initial data required to reproduce.
Commands, and any other step required to reproduce your issue.
not needed
The text was updated successfully, but these errors were encountered: