Package Details: mysql-connector-java 8.2.0-1

Git Clone URL: https://aur.archlinux.org/mysql-connector-java.git (read-only, click to copy)
Package Base: mysql-connector-java
Description: Java library to connect to MySQL
Upstream URL: https://dev.mysql.com/downloads/connector/j/
Licenses: GPL,custom
Submitter: dracorp
Maintainer: dracorp
Last Packager: dracorp
Votes: 120
Popularity: 0.000000
First Submitted: 2016-03-12 10:09 (UTC)
Last Updated: 2023-11-07 22:11 (UTC)

Dependencies (1)

Required by (4)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

Singularity commented on 2021-02-14 15:13 (UTC)

The license is not installed where it was planned to be, it's in /usr/share/licenses/LICENSE, and /usr/share/licenses/$pkgname/ is empty. You can use: install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/license.txt

Similarly, maybe place the files in /usr/share/java in a subfolder too.

And to find the package when searching for jdbc, you could mention it in the description (or name), e.g. "JDBC driver to connect to MySQL and MariaDB databases".

kdvcodes commented on 2020-02-05 22:34 (UTC) (edited on 2020-02-05 22:34 (UTC) by kdvcodes)

I got this error when I tried to install version 8.0.18-1. Can anyone let me know how to fix this?

Building mysql-connector-java... ==> Making package: mysql-connector-java 8.0.18-1 (Wed 05 Feb 2020 05:27:17 PM EST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found mysql-connector-java-8.0.18.tar.gz -> Found mysql-connector-java-8.0.18.tar.gz.asc ==> Validating source files with sha512sums... mysql-connector-java-8.0.18.tar.gz ... Passed mysql-connector-java-8.0.18.tar.gz.asc ... Skipped ==> Verifying source file signatures with gpg... mysql-connector-java-8.0.18.tar.gz ... FAILED ==> ERROR: One or more PGP signatures could not be verified! Failed to build mysql-connector-java

Pulec commented on 2019-11-07 17:41 (UTC)

Fix for first line in source=( <https://dev.mysql.com/Downloads/Connector-J/mysql-connector-java>-${pkgver}.tar.gz

The old link gives 301 to this.

3d21dbed869242b6ff8807a79de0c13ddeb064ce91bee83534532e5d996704dd924a9b620986039296fbe433158c81fd2e1afdb87f184d17ec454dda6c8a7c6e is the sha512sum of it.

asc file seems fine.

lorenzosu commented on 2019-02-16 10:00 (UTC)

FYI if with upgrade to 8.0.13-2 you get an error 'One or more PGP signatures could not be verified!'

do a:

gpg --keyserver pool.sks-keyservers.net --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5

squalou commented on 2018-12-10 15:41 (UTC)

Note that issue is fixed in release 8.0.13-2

squalou commented on 2018-12-04 14:28 (UTC) (edited on 2018-12-04 14:30 (UTC) by squalou)

Thank you ! I already did the --recv-keys part ... and only after your pst I noticed that the .asc file ... is absolutely not correct : it's a html file telling 'file not found' instead of the pgp signature Probably related to the typo you mention.

I downloaded the .asc directly, put it in local build cache, (fixed PKGBUILD there) and install worked. (for the records I use yay as aur tool)

localghost commented on 2018-12-04 14:02 (UTC) (edited on 2018-12-04 14:04 (UTC) by localghost)

@squalou, first of all there is an error on row 15 of the PKGBUILD file:

mysql-connector-java-${pkgver}.tar.gz.asc::https://dev.mysql.com/downloads/gpg/?file=mysql-connector-java-${pkgve}.tar.gz`

${pkgve} should be ${pkgver} - one 'r' is missing.

You can clone the repository and edit the file

To import the key you can use something like:

sudo pacman-key --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5

pacman-key --export A4A9406876FCBD3C456770C88C718D3B5072E1F5 > mysql-public.key

gpg --import mysql-public.key

squalou commented on 2018-12-03 20:46 (UTC) (edited on 2018-12-03 20:47 (UTC) by squalou)

I'm getting this GPG error when trying to update :

mysql-connector-java-8.0.13.tar.gz ... FAILED
==> ERROR: One or more PGP signatures could not be verified!

Tried several --recv-keys (like : gpg --keyserver ha.pool.sks-keyservers.net --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5 ) => no data returned

any idea ?

vitalijr2 commented on 2018-09-29 15:33 (UTC)

Now is replaced by https://aur.archlinux.org/packages/mysql-connector-java/

omgold commented on 2017-10-23 10:39 (UTC)

Hmm, the address of the source has moved: curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading https://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.42.tar.gz Aborting... It can be found here now: https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.42.tar.gz