-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test 05-copy-data-from.t Fails #38
Comments
It seems the InnoDB engine in MySQL 8.0.30+ expects diff --git a/lib/Test/mysqld.pm b/lib/Test/mysqld.pm
index 483cf1f..e7560d4 100644
--- a/lib/Test/mysqld.pm
+++ b/lib/Test/mysqld.pm
@@ -189,9 +189,11 @@ sub setup {
or die "could not dircopy @{[$self->copy_data_from]} to " .
"@{[$self->my_cnf->{datadir}]}:$!";
if (!$self->_is_maria && ($self->_mysql_major_version || 0) >= 8) {
- my $mysql_db_dir = $self->my_cnf->{datadir} . '/mysql';
- if (! -d $mysql_db_dir) {
- mkdir $mysql_db_dir or die "failed to mkdir $mysql_db_dir: $!";
+ for my $dir ('mysql', '#innodb_redo') {
+ my $abs_dir = $self->my_cnf->{datadir} . "/$dir";
+ if (! -d $abs_dir) {
+ mkdir $abs_dir or die "failed to mkdir $abs_dir: $!";
+ }
}
}
} |
I've got the same problem, and @markhawkes 's patch fixed it for me. Please can it be applied and a new release pushed to the CPAN? |
Thanks for reporting. I've patched it at #42 |
Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Vm with
Ubuntu 22.04
Mysql 8.0.30
using Perl 5.34.0 compiled from source
Test-mysqld-1.0013
Test hangs at this point.
The text was updated successfully, but these errors were encountered: