Upgrade to Ubuntu 20 and MySQL 8
Â
Create snapshot or GENERAL backup
Â
Update to uContact >= 3.682
Verify Database for MySQL 8 Upgrade.
mysqlcheck -u root -p --all-databases --check-upgrade
If every chart looks ok, then, within:
/etc/mysql/mysql.conf.d/mysqld.cnf
Delete: NO_AUTO_CREATE_USER
Delete: query_cache_limit y query_cache_size
Â
If you want to see more details:
wget https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell_8.0.26-1ubuntu18.04_amd64.deb
dpkg -i mysql-shell_8.0.26-1ubuntu18.04_amd64.deb
mysqlsh
JS> util.checkForServerUpgrade('usuario@localhost:3306',{"configPath":"/etc/mysql/mysql.conf.d/mysqld.cnf"})
Â
3. Update Operating System.
Yes to restart services and leave the defaults that suggests (just press enter). Select yes to remove the packages that are no longer useful.
Â
4. Install new dependencies.
5. New MySQL 8 driver for UnixODBC.
Â
6. Rebuild Asterisk with new dependencies.
Â
7. Reboot and check.