Package Details: mysql-jdbc 5.1.40-1

Git Clone URL: https://aur.archlinux.org/mysql-jdbc.git (read-only)
Package Base: mysql-jdbc
Description: The official JDBC driver for MySQL
Upstream URL: https://dev.mysql.com/downloads/connector/j/
Licenses: GPL2
Submitter: None
Maintainer: Marcel_K
Last Packager: Marcel_K
Votes: 110
Popularity: 0.004484
First Submitted: 2006-12-18 21:19
Last Updated: 2016-11-09 23:05

Latest Comments

leifurhauks commented on 2016-01-20 17:55

EDIT: nvm, I figured out that the key needed to be in my *personal* keyring, not my pacman keyring

Does anyone have an idea what my problem is here? (I know I can use --skippgpcheck, but I would like to know why it's failing in the first place)

leifurpc% makepkg -s
==> Making package: mysql-jdbc 5.1.38-1 (Wed Jan 20 12:47:32 EST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found mysql-connector-java-5.1.38.tar.gz
-> Found mysql-connector-java-5.1.38.tar.gz.asc
==> Validating source files with md5sums...
mysql-connector-java-5.1.38.tar.gz ... Passed
mysql-connector-java-5.1.38.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
mysql-connector-java-5.1.38.tar.gz ... FAILED (unknown public key 8C718D3B5072E1F5)
==> ERROR: One or more PGP signatures could not be verified!

leifurpc% pacman-key -l 8C718D3B5072E1F5
gpg: Note: trustdb not writable
pub dsa1024/5072E1F5 2003-02-03 [expires: 2017-02-16]
uid [ full ] MySQL Release Engineering <mysql-build@oss.oracle.com>

Marcel_K commented on 2015-08-26 10:55

What's above that message? Did you import the public key of MySQL Release Engineering (0x5072E1F5)?

manuelschneid3r commented on 2015-08-26 10:24

==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden!

Means there is a PGP sig error

manuelschneid3r commented on 2015-08-26 10:24

==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden!

cgirard commented on 2015-08-10 11:23

This is a duplicate of mysql-jdbc

barchiesi commented on 2015-03-29 21:01

@Ulvhedin:
thanks, if you prefer next time you can directly "Flag package out-of-date".

Ulvhedin commented on 2015-03-29 19:52

Please update - new version available:
mysql-connector-java-5.1.35
MD5: e59c9438a9c6c07e27252ad3156123ca

whatshisname commented on 2014-11-11 17:21

@joschi. Thanks. Installed and working! Small change to your instructions at the end of the script. Step 2) should read:

'2) Click on Tools -> Options then expand the LIbreoffice tree and select "Advanced".'

joschi commented on 2014-11-11 17:00

@whatshisname I've updated the PKGBUILD.

FWIW, "iD8DBQBUQOnZjHGNO1By4fURAv/7AJ9SMu518sd6rVWeTTVs+EOJYUKTEQCfcjJT" is not a valid SHA256 hash.

whatshisname commented on 2014-11-10 23:31

The newest version of this package is up to 5.1.34. I edited the PKGBUILD to reflect this. I also tried to insert the various checksums from http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/ for that version but all variations fail the sha256sum check.

My last attempt was to substitute the top line from "mysql-connector-java-5.1.34.tar.gz.asc" ->
"iD8DBQBUQOnZjHGNO1By4fURAv/7AJ9SMu518sd6rVWeTTVs+EOJYUKTEQCfcjJT" which equaled the length, at least, of the checksum for 5.1.32 but it still failed. Suggestions?

mdevlamynck commented on 2014-02-20 09:11

The link of source is broken, they have replaced 'cdn.mysql.com' with 'dev.mysql.com'. Also the last version available is 5.1.29.

numkem commented on 2013-11-11 17:16

PKGBUILD updated, thanks!

kamiljk87 commented on 2013-11-05 01:07

New version available mysql-connector-java-5.1.27;
MD5: cdba995bf076f511ab7865afa73e5a9d ;
https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.27.tar.gz/from/http://cdn.mysql.com/
or better
https://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.27.tar.gz

joschi commented on 2013-10-20 18:06

1ace: Thanks!

1ace commented on 2013-10-10 06:56

I believe replacing the pkgver with 5.1.26 and the md5sums with 1a7af1458f9a615802a17e3a2f07b942 is enough for the update.

vdemeester commented on 2013-03-28 10:54

Hello maintainer,

Following the "diff" of AlD, here is an up-to-date version of this package : https://github.com/vdemeester/PKGBUILDs/tree/master/mysql-jdbc.

Feel free to use it ;-)

AlD commented on 2013-03-14 17:34

New version, official mirror:

diff --git a/PKGBUILD b/PKGBUILD
index cded345..3389a60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,17 @@
# Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD

pkgname=mysql-jdbc
-pkgver=5.1.22
+pkgver=5.1.24
pkgrel=1
pkgdesc="The official JDBC driver for MySQL"
arch=('i686' 'x86_64')
url="http://www.mysql.com/downloads/connector/j/"
license=('GPL')
depends=('java-runtime')
-source=(http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-$pkgver.zip)
+source=(http://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-${pkgver}.zip)
install=mysql-jdbc.install
+md5sums=('f994df6a7c106eb8160d2e570ff2c853')
+sha256sums=('c991ad3f011d5ae706d28a6f42c04fa9da36bc1d6e72a796f81bd88bad390d66')

package() {
local connector=mysql-connector-java-$pkgver
@@ -19,6 +21,3 @@ package() {
$pkgdir/usr/share/java/mysql-jdbc/${connector}-bin.jar
ln -s ${connector}-bin.jar $pkgdir/usr/share/java/mysql-jdbc/mysql-connector-java-bin.jar
}
-
-md5sums=('c10b7732e8431ecd9d9376b7711cbc07')
-sha256sums=('5546d284baac3011e14b265aaed99874d363fa514cc78dd8a40c4780ed0fdd41')

numkem commented on 2013-02-22 16:54

Good idea, I've created the symlink /usr/share/java/mysql-connector-java-bin.jar that points to the current jar version.

smerik commented on 2013-02-22 16:48

It would be nice to create a versionless symlink to the installed connector, so no change is required in programs using the connector.

smerik commented on 2013-02-22 16:47

It would be nice to create a symlink to the installed connector, so no change is required in programs using the connector.

ur6lad commented on 2013-02-03 13:40

I think it's normal: each project has own classpath - project owner/developer can use this driver or not. If he uses he just adds the driver to project classpath.

Druedain commented on 2013-02-02 23:03

After installation, this driver is not in classpath (I guess) – basic project with jdbc made in Eclipse can't see it. After manually adding package from /usr/share/java/mysql/mysql-jdbc as external driver, it works. Where is the problem?

Anonymous comment on 2012-12-11 02:02

bad checksums! Please update the PKGBUILD.

ur6lad commented on 2012-12-01 07:12

5.1.22

ur6lad commented on 2011-10-20 05:15

5.1.18

ur6lad commented on 2011-07-15 23:37

5.1.17

ilpianista commented on 2011-07-13 18:33

when updating to the next version please switch arch to ('any') ;)

ur6lad commented on 2011-05-22 17:34

5.1.16

ur6lad commented on 2011-02-17 06:45

5.1.15

Anonymous comment on 2011-02-16 18:44

update to 5.1.9

thx

ur6lad commented on 2011-01-13 07:24

5.1.14

ur6lad commented on 2010-04-03 20:24

5.1.12