* Sun Apr 06 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-13.sme
- fix Specified key was too long with older mysql db tables [SME: 12980] added back mysql_upgrade in 00_restore_dumped_dbs * Fri Apr 04 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme - restore root user, pasword and socket login [SME: 12978]
This commit is contained in:
parent
e78f90c5e5
commit
b3e9d320f3
@ -2,9 +2,11 @@
|
||||
|
||||
# we need to filter out mysql.user table from older mariadb and from mysql
|
||||
# in SME10 we added for migration creation of mysql.privileges.dump with mariadb 10.5 and newer syntax
|
||||
( /usr/bin/mysql_filter_user_table /home/e-smith/db/mysql/mysql.dump ;
|
||||
# non RH ocmpiled version of mariadb limits MyISAM index to 1000 bytes, newer mysql db use Aria as engine for those tables
|
||||
( /usr/bin/mysql_filter_user_table /home/e-smith/db/mysql/mysql.dump |sed -e 's/ENGINE=MyISAM/ENGINE=Aria/';
|
||||
[ -f /home/e-smith/db/mysql/mysql.privileges.dump ] && cat /home/e-smith/db/mysql/mysql.privileges.dump;
|
||||
cat /var/lib/mysql.private/set.password ) | mysql || exit 1
|
||||
/usr/bin/mysql_upgrade
|
||||
/bin/rm /run/mariadb/mariadb.pid
|
||||
/usr/bin/systemctl restart mariadb.service
|
||||
for i in $(seq 1 20);
|
||||
|
@ -2,7 +2,7 @@ Summary: Koozali SME Server specific mysql configuration and templates.
|
||||
%define name smeserver-mysql
|
||||
Name: %{name}
|
||||
%define version 11.0.0
|
||||
%define release 12
|
||||
%define release 13
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
@ -79,6 +79,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Sun Apr 06 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-13.sme
|
||||
- fix Specified key was too long with older mysql db tables [SME: 12980]
|
||||
added back mysql_upgrade in 00_restore_dumped_dbs
|
||||
|
||||
* Fri Apr 04 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme
|
||||
- restore root user, pasword and socket login [SME: 12978]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user