Package Details: mysql 9.0.1-1

Git Clone URL: https://aur.archlinux.org/mysql.git (read-only, click to copy)
Package Base: mysql
Description: Fast SQL database server, community edition
Upstream URL: https://www.mysql.com/products/community/
Licenses: GPL-2.0-only
Conflicts: mariadb
Provides: mariadb, mysql
Submitter: Barthalion
Maintainer: Muflone
Last Packager: Muflone
Votes: 82
Popularity: 0.031334
First Submitted: 2013-04-25 19:13 (UTC)
Last Updated: 2024-08-11 14:51 (UTC)

Required by (207)

Sources (8)

Pinned Comments

Muflone commented on 2023-08-16 17:21 (UTC) (edited on 2023-08-16 20:41 (UTC) by Muflone)

Warning

https://dev.mysql.com/doc/refman/8.1/en/downgrading.html

Downgrade from MySQL 8.1 to MySQL 8.0 or earlier is not supported. The only supported alternative is to restore a backup taken before upgrading. It is therefore imperative that you back up your data before starting the upgrade process.

MySQL 8.0 is available in https://aur.archlinux.org/packages/mysql80

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 Next › Last »

nebulon commented on 2016-06-17 13:17 (UTC)

Is there any pacman repository available with pre-built packages of mysql? I don't actually have that much free hard disk space available, as the whole package building takes over 4GB!

kerberizer commented on 2016-06-05 01:20 (UTC) (edited on 2016-06-05 01:22 (UTC) by kerberizer)

@fazal, that's because GCC 6 switched the default mode for C++ from -std=gnu++98 to -std=gnu++14.[1] The simple fix is to add "-std=gnu++98" to CMAKE_CXX_FLAGS, e.g. like this (also including the changes to 5.7.13): http://hastebin.com/uqivuyuzin.diff Edit: Replaced the ugly diff with link to hastebin. ---- 1. https://gcc.gnu.org/gcc-6/changes.html

fazal commented on 2016-05-24 09:17 (UTC)

I'm getting this error: ```` /tmp/yaourt-tmp-fazal/aur-mysql/src/mysql-5.7.12/client/auth_utils.cc: In function ‘int parse_cnf_file(std::istream&, std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >*, const string&)’: /tmp/yaourt-tmp-fazal/aur-mysql/src/mysql-5.7.12/client/auth_utils.cc:64:75: error: no matching function for call to ‘make_pair(std::__cxx11::string&, std::__cxx11::string&)’ options->insert(make_pair<string, string >(option_name, option_value)); ^ In file included from /usr/include/c++/6.1.1/bits/stl_algobase.h:64:0, from /usr/include/c++/6.1.1/bits/char_traits.h:39, from /usr/include/c++/6.1.1/ios:40, from /usr/include/c++/6.1.1/istream:38, from /usr/include/c++/6.1.1/sstream:38, from /tmp/yaourt-tmp-fazal/aur-mysql/src/mysql-5.7.12/client/auth_utils.cc:20: /usr/include/c++/6.1.1/bits/stl_pair.h:425:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) make_pair(_T1&& __x, _T2&& __y) ^~~~~~~~~ /usr/include/c++/6.1.1/bits/stl_pair.h:425:5: note: template argument deduction/substitution failed: /tmp/yaourt-tmp-fazal/aur-mysql/src/mysql-5.7.12/client/auth_utils.cc:64:75: note: cannot convert ‘option_name’ (type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’) to type ‘std::__cxx11::basic_string<char>&&’ options->insert(make_pair<string, string >(option_name, option_value)); ^ client/CMakeFiles/mysql_install_db.dir/build.make:86: recipe for target 'client/CMakeFiles/mysql_install_db.dir/auth_utils.cc.o' failed make[2]: *** [client/CMakeFiles/mysql_install_db.dir/auth_utils.cc.o] Error 1 CMakeFiles/Makefile2:6495: recipe for target 'client/CMakeFiles/mysql_install_db.dir/all' failed make[1]: *** [client/CMakeFiles/mysql_install_db.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 ````

basil commented on 2016-05-03 14:23 (UTC)

You can also use something like TMPDIR=$HOME/scratch yaourt -S mysql to use a different temporary directory for this install only. In this case you don't actually have to increase your /tmp partition size.

Scindix commented on 2016-05-03 11:54 (UTC) (edited on 2016-05-03 12:55 (UTC) by Scindix)

There must be some kind of error in the build system. No matter how much space I free on my hard drive, I keep getting this error: /usr/bin/ar: libsql_embedded.a: No space left on device libmysqld/CMakeFiles/sql_embedded.dir/build.make:5938: recipe for target 'libmysqld/libsql_embedded.a' failed make[2]: *** [libmysqld/libsql_embedded.a] Error 1 make[2]: *** Deleting file 'libmysqld/libsql_embedded.a' CMakeFiles/Makefile2:7748: recipe for target 'libmysqld/CMakeFiles/sql_embedded.dir/all' failed make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build mysql. ==> Restart building libmysqlclient ? [y/N] Note that on root I have 134.92 GB free space now. I don't have external system or home partitions so why am I getting this error? EDIT: Solved the problem myself. Although there was enough space on my hd the compiler exceeded the limit of 4GB on /tmp (set by default to the half of your RAM size). I increased it and it worked. However it would be nice if this would be checked before the compilation process as the usage of /tmp rose to about 7GB. It would have saved me a lot of time.

Muflone commented on 2016-03-05 17:18 (UTC)

@graysky the package mysql provides the libmysqlclient.so.20 library, the latest version. If the kodi package needs an older version you should rebuild the kodi package with mysql 5.7 (if supported) or use the mysql 5.6 package.

graysky commented on 2016-03-05 11:19 (UTC) (edited on 2016-03-05 11:20 (UTC) by graysky)

Something is wrong with the libmysqlclient package as it relating to kodi. If I use this AUR package as a substitute for [extra]/mariadb and try to run kodi, I get: /usr/lib/kodi/kodi.bin: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

Muflone commented on 2016-02-06 19:54 (UTC)

The boost issue was fixed, thanks to Norvald H. Ryeng of MySQL.

basil commented on 2016-02-04 20:47 (UTC)

This still doesn't work. Any workarounds?