Since they all differ only in the ending -- add it them all e.g. like (didn't test
```
failregex = Access denied for user '\w+'@'<HOST>' (to database '[^']*'|\(using password: (YES|NO)\))*\s*$
```