Pity, NeDiO doesn't have bash. Add it with pkg_add, if you get this error on OBSD:
/var/nedi/contrib/nedi_db_maintenance.sh[85]: syntax error: `(' unexpected
With bash I get this one, but all looks good, if I enter FLUSH LOGS;RESET MASTER; on the SQL prompt:
ERROR 1227 (42000) at line 2: Access denied; you need the RELOAD privilege for this operation
But it actually looks really good! I'll probably just have to add it

Again, many thanks for that dobst!