The following diff on start_mysqld_and_run.sh fixes the failure, but a couple of notes:
1. This will break it for MariaDB. I think there's a package in sid that has changed the same script to support both variants, so will try to find that instead
2. The --secure-file-priv= was needed because the tests load data from a file, and I also had to set MySQL's apparmor profile to complain mode to make this work. Aside from --secure-file-priv, the diff is just copied from ruby-mysql2
The following diff on start_mysqld_ and_run. sh fixes the failure, but a couple of notes:
1. This will break it for MariaDB. I think there's a package in sid that has changed the same script to support both variants, so will try to find that instead
2. The --secure-file-priv= was needed because the tests load data from a file, and I also had to set MySQL's apparmor profile to complain mode to make this work. Aside from --secure-file-priv, the diff is just copied from ruby-mysql2
20,21c20,21 ${MYTEMP_ DIR} --force --skip-name-resolve --user= ${DO_MYSQL_ USER} ${DO_MYSQL_ USER} --socket= ${MYSQL_ UNIX_PORT} --datadir= ${MYTEMP_ DIR} --skip-networking --skip-grant & ${MYTEMP_ DIR} --insecure --basedir=/usr --user= ${DO_MYSQL_ USER} ${DO_MYSQL_ USER} --socket= ${MYSQL_ UNIX_PORT} --datadir= ${MYTEMP_ DIR} --skip-networking --secure-file-priv= &
< mysql_install_db --no-defaults --datadir=
< /usr/sbin/mysqld --no-defaults --user=
---
> mysql_install_db --no-defaults --datadir=
> /usr/sbin/mysqld --no-defaults --user=