@tlo MySQL should now automatically upgrade:
https://mysqlserverteam.com/mysql-8-0-16-mysql_upgrade-is-going-away/
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.000963 |
First Submitted: | 2013-04-25 19:13 (UTC) |
Last Updated: | 2025-05-27 22:34 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 20 Next › Last »
@tlo MySQL should now automatically upgrade:
https://mysqlserverteam.com/mysql-8-0-16-mysql_upgrade-is-going-away/
NVM: Upon further investigation I found this is a deprecated command my apologies for the useless comment.
I have just built mysql-8.0.16-1 and after installing I noticed mysql_upgrade was built (src/build/runtime_output_directory/mysql_upgrade) but was not installed to the system it appears to be missing from the pkg not sure if this is a bug or a strange fluke on my machine. In case it matters downloaded with yay -G aur/mysql and built with makepkg -si
@francoism90
thank you for your precious work. I've integrated some of your fixes and changes. (now mysql builds fine with ccache)
@svenaugustus you need to recompile this package (MySQL) - don't know what lib(s) causing this issue. I recommend to reboot first before doing prior compiling.
$ mysqld --initialize --user=mysql
mysqld: error while loading shared libraries: libicuuc.so.63: cannot open shared object file: No such file or directory
something wrong while libicuuc haved updated to version 64. =。=
@Muflone @others I have created MySQL 8.16, did a clean-up, switched to systemd provided by pkg, used some stuff seen in MariaDB pkg and updated the my-default.cnf
: https://github.com/francoism90/pkgs/tree/master/mysql
It would be great if you take a look and tell me what you think. :)
I did not use mysql-ld.so.conf
and mysqld-post.sh
, are they still needed?
@Muflone Seems MySQL provide systemd service OOTB: https://github.com/mysql/mysql-server/tree/8.0/scripts/systemd
https://dev.mysql.com/doc/refman/8.0/en/source-configuration-options.html#option_cmake_with_systemd https://dev.mysql.com/doc/refman/8.0/en/source-configuration-options.html#option_cmake_with_system_libs
Is there any reason why not using (a patched) upstream one? :)
Would LTO help to optimize MySQL?
Could you change the build instructions to compile MySQL with bundled libedit as they do not support any other version of libedit?
It is the problem with not-working CTRL+W hotkey https://bugs.mysql.com/bug.php?id=95287#c488633
I tried to downgrade to libedit-20180525_3.1-1 before the compilation, but it didn't help.
@Khaithang try yay mysql-clients
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