Package Details: mysql-connector-c++ 1.1.9-2

Git Clone URL: https://aur.archlinux.org/mysql-connector-c++.git (read-only, click to copy)
Package Base: mysql-connector-c++
Description: A MySQL database connector for C++
Upstream URL: http://dev.mysql.com/doc/connector-cpp/en/
Licenses: GPL
Submitter: eworm
Maintainer: None
Last Packager: rafaelff
Votes: 7
Popularity: 0.000000
First Submitted: 2016-01-20 11:55 (UTC)
Last Updated: 2019-04-10 15:52 (UTC)

Pinned Comments

rafaelff commented on 2019-04-10 16:07 (UTC)

This package can not be updated to a version higher than 1.1.9, because Oracle MySQL broke compatibility with MariaDB in newer versions. Please, do not flag this package as out-of-date unless you know a solution for this broken compatibility -- It should work as it is.

Latest Comments

1 2 3 4 Next › Last »

1uk commented on 2024-03-03 21:08 (UTC) (edited on 2024-03-03 21:31 (UTC) by 1uk)

I could not build this, so I added/changed this to the PKGBUILD:

 makedepends=('cmake>=3.1' 'boost')

            -DCMAKE_CXX_STANDARD=14 \
    -DCMAKE_CXX_STANDARD_REQUIRED=ON \
    -DCMAKE_CXX_EXTENSIONS=OFF

I don't know how to request these changes for the PKGBUILD. So I just write it here.

I had this error like in this question: https://stackoverflow.com/questions/75497370/error-iso-c17-does-not-allow-dynamic-exception-specifications-when-installing And used this solution: http://stackoverflow.com/questions/42834844/ddg#42842447

twittumz commented on 2022-05-19 03:03 (UTC) (edited on 2022-05-19 03:08 (UTC) by twittumz)

@rafaelff. Thank you this worked. I also had to specify the c++11 standard and add the flag -DCMAKE_CXX_COMPILER='g++; -std=c++11' to the cmake parameters.

rafaelff commented on 2022-05-18 00:08 (UTC) (edited on 2022-05-18 00:10 (UTC) by rafaelff)

@twittumz: I'm away from my computer, so I can test it, but try changing the source array to https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.9.tar.gz (completely replacing mirrors.soho.com) and update the sha256sums array using updpkgsums from package pacman-contrib.

You may have to remove {,.asc} in source array and 'SKIP' from sha256sums array.

twittumz commented on 2022-05-17 23:41 (UTC) (edited on 2022-05-18 01:23 (UTC) by twittumz)

The tarball on mirrors.sohu.com doesn't look like it's available anymore causing the pkg build to fail.

rafaelff commented on 2021-06-12 18:21 (UTC)

I adopted this package because ddnet depended on it, but it is no longer the case. Hence, I'm orphaning it.

rafaelff commented on 2019-04-10 16:08 (UTC)

Package adopted

rafaelff commented on 2019-04-10 16:07 (UTC)

This package can not be updated to a version higher than 1.1.9, because Oracle MySQL broke compatibility with MariaDB in newer versions. Please, do not flag this package as out-of-date unless you know a solution for this broken compatibility -- It should work as it is.

rafaelff commented on 2019-04-03 16:34 (UTC)

Oh, the source URL could also be changed to https://mirrors.sohu.com/mysql/Connector-C++/, without any other further change. Oracle really removed mysql-connector-c++-1.1.9.tar.gz from all official servers.

rafaelff commented on 2019-04-03 14:54 (UTC) (edited on 2019-04-03 14:55 (UTC) by rafaelff)

The source tarball from cdn.mysql.com seems to not be available anymore. Please use it from GitHub.

Consider applying the following changes:

  • source url: $pkgname-$pkgver.tar.gz::<https://github.com/mysql/mysql-connector-cpp/archive/>$pkgver.tar.gz
  • source directory: mysql-connector-cpp-${pkgver}/
  • update checksums.

rafaelff commented on 2019-03-20 10:10 (UTC) (edited on 2019-03-20 10:11 (UTC) by rafaelff)

Don't have a problem per se with the current package state, except it is out-of-date. Also 'boost' should be in depends.

p.s. I forgot to specify that version 1.1.12 is not working. (fixed now)