MySQL backup

I need a good MySQL script that logs in to mysql DB and reads out all DB to a txt file, that tha script goes in and make a backup on every DB it finds in that txt files.
This becase that users/customers delete/add DB during the day

Maybe someone already have a script like this and like to share?
i will do some research and get back with more information, feel free to help me =)