#2320 support for mysql 4.1.5

1.240
closed
Jamie Cameron
5
2005-11-04
2005-11-04
Jehiah Czebotar
No

There are actually two problems. with webmin the first
which is relevant here is a problem with the check to
see if mysql is running

Line 96 needs the string "failed" added as one of the
things to check for... It should end up like this. It
is in the string returned by mysqadmin in 4.1.5

$out =~ /failed|denied|password/i ? -1 : 0;

Further the authentication string passed by webmin
doesn't work with mysql 4.1.5

Line 86 Should be updated to use
--password=YourPassword format like this instead of
"-pYourPassword"

($pass ? " --password=".quotemeta($pass) : "");

Discussion

  • Jamie Cameron
    Jamie Cameron
    2005-11-04

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2005-11-04

    Logged In: YES
    user_id=129364

    Thanks for the bug report and fixes - I will include these
    in the next Webmin release.