#10 unknown option '--routines'

closed
nobody
None
5
3 days ago
2012-01-06
bertys
No

Each time the script runs, i'm getting the following in an email:

"mysqldump: unknown option '--routines'
du: WARNING: use --si, not -H; the meaning of the -H option will soon
change to be the same as that of --dereference-args (-D)"

The script is running fine, and i'm also getting success emails sent to me. (i'm geting two emails each time script runs. one success/one error)

what am I missing?

Discussion

  • PittaGurneyi
    PittaGurneyi
    2012-01-06

    It really would have helped to google for the errors ...
    The option --routines is used for fullschema. This option was added in MySQL 5.1.2. Therefore, you have two choices, either update mysql or turn off fullschema.
    The second one you will find in bugs. Maybe I add a version check for mysql for the first issue.

    Please tell me if everything else is as expected.

     
  • PittaGurneyi
    PittaGurneyi
    2012-01-08

    • status: open --> closed
     
  • bertys
    bertys
    2012-01-10

    as you suggested, turning off fullschema fixed the first error. Second error I will ignore now that I know it's not causing any problems.

    everything else works brilliantly

    thanks