│Warning: MySQL 8 will be the required database in the next major release of Ghost.
Any information on when / which version? Is this planned for v5?
I host on Debian, and the default mysql-server package is mariadb-server-10.5 - (yes, IMHO Debian made a mistake, but I go with their stable recommendations for production). So looks like a migration from mariadb-server-10.5 to mysql-server-8.0. If anyone has done this, gotcha’s appreciated.
@mjw The warning is for all users who are not using MySQL 8.x, although I think there is a bug in CLI not showing it for MariaDB - I’ll be looking into that next week.
Strictly speaking, MariaDB is not officially supported by Ghost, but it still happens to work.
I’d still recommend switching now because we’re unable to provide support for any issues encountered with MariaDB in the future
It would seem that MariaDB and MySQL are already diverging so that importing from mysqldump results in incompatibility errors. I need to come up with a plan C (plan A failed because the packaged MySQL 8.0 in Ubuntu 20.04.04 is broken.)
These are the steps I’ve taken to install MySQL 8.0.
mysql -u root -p < mariadbdump.sql
ERROR 1064 (42000) at line 5957: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PAGE_CHECKSUM=1 TRANSACTIONAL=0 COMMENT='Statistics on Columns'' at line 14
I’m thinking that a direct export from Ghost is my best option.