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
< mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force
--skip-name-resolve --user=${DO_MYSQL_USER}
< /usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER}
--socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking
--skip-grant &
---
> mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --insecure
> --basedir=/usr --user=${DO_MYSQL_USER}
> /usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER}
> --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking
> --secure-file-priv= &
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686859
Title:
ruby-riddle tests start mysql server with unknown option --force
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-riddle/+bug/1686859/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs