Package Details: mysql 5.7.21-1

Git Clone URL: (read-only)
Package Base: mysql
Description: Fast SQL database server, community edition
Upstream URL:
Licenses: GPL
Conflicts: mariadb
Provides: mariadb=5.7.21
Submitter: Barthalion
Maintainer: Muflone
Last Packager: Muflone
Votes: 58
Popularity: 1.238970
First Submitted: 2013-04-25 19:13
Last Updated: 2018-02-04 15:48

Required by (167)

Sources (10)

Latest Comments

Muflone commented on 2018-03-03 21:47

@rashi and @markoff

Be sure your system is up to date and build the package in a clean chroot.

Currently it builds fine using extra-x86_64-build

markoff commented on 2018-02-28 16:55

@Muflone, are you doing anything to fix the problem rashi had? Because I'm having exactly the same problem.

Muflone commented on 2018-02-08 00:03

I maintain my own repository for the mysql, mysql55 and mysql56 packages, built in clean chroot and signed with official Arch Linux key (therefore no need to import an extraneous key or keyring)

SigLevel = Required
Server =$repo/$arch

heavysink commented on 2018-02-06 19:47

mysql is included in ArchlinuxCN repository. Please add these

[archlinuxcn] Server =$arch

Once the repo is added, archlinuxcn-keyring package must be installed before mysql so you do not get errors about PGP signatures.

Also if you want to try bleeding edge mariadb-git, you can also find it in the repo.

dansantos commented on 2018-01-20 22:24

You can also download the package with the latest version of MySQL precompiled here: << >> Instructions for installing are in the repository. HAVE FUN!

rashi commented on 2018-01-08 16:06

I'm trying to install this mysql package (v5.7.20-1) in Antergos linux and kept failed with this error message:

CMakeFiles/mysqltest_embedded.dir/__/__/client/ In function `main':
/tmp/pamac-build-user1/mysql/src/mysql-5.7.20/client/ undefined reference to `mysql_options'
/tmp/pamac-build-user1/mysql/src/mysql-5.7.20/client/ undefined reference to `mysql_options'
/tmp/pamac-build-user1/mysql/src/mysql-5.7.20/client/ undefined reference to `strmake'
/tmp/pamac-build-user1/mysql/src/mysql-5.7.20/client/ undefined reference to `strmake'
CMakeFiles/mysqltest_embedded.dir/__/__/client/ undefined reference to `my_charset_latin1'
collect2: error: ld returned 1 exit status
make[2]: *** [libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/build.make:99: libmysqld/examples/mysqltest_embedded] Error 1
make[1]: *** [CMakeFiles/Makefile2:8309: libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().

I have made sure my system is up-to-date and I don't have mariadb and libmariasbclient installed.

Fed up with many retries which takes a lot of time to compile, I finally gave up and installed mariadb instead.

Muflone commented on 2017-12-17 21:07

@francoism90 that's correct! even the mariadb doesn't launch the mysql_secure_installation, only prints a message to ask the user to execute it, only during the first package installation

francoism90 commented on 2017-12-17 20:53

@Muflone It's more because of the mariadb package does this:

Muflone commented on 2017-12-16 16:56

@francoism90 it's not duty of the packager to secure the installation or autoconfigure the server. Moreover the mysql_secure_installation requires user intervention which must not to be done from packages install.

francoism90 commented on 2017-12-12 19:48

Could you add this to .install: mysql_secure_installation

Thanks. :)

All comments