mysqldump detection wrong?
-
I’m on a pretty standard Linux cPanel hosting and the plugin is not detecting mysqldump correctly. Also it confusingly appends “.exe” to the path if I supply it, but that’s not the problem.
The problem is this line in duplicator/classes/class.db.php
if (@is_executable($mysqldump)) $path1 = (!empty($mysqldump)) ? $mysqldump : '';
For me $mysqldump is ‘/usr/bin/mysqldump’, andis_executable($mysqldump)
returns false.
But if I insert$test = exec( $mysqldump ); print $test;
I get “For more options, use mysqldump –help”. So it is executable. And it looks like this in the file system:
-rwxr-xr-x 1 root root 4100226 Oct 19 09:24 /usr/bin/mysqldump*
- The topic ‘mysqldump detection wrong?’ is closed to new replies.