@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.031334 |
First Submitted: | 2013-04-25 19:13 (UTC) |
Last Updated: | 2024-08-11 14:51 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 19 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?
https://dev.mysql.com/doc/refman/8.0/en/source-configuration-options.html#option_cmake_with_lto
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
Why Yay is not finding this package ? I get only mariadb and percona?
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