hello again guys
I need a little help with a bash script I am trying to make o backup our databases. What I need is to list all databases from my MySQL server and with that resulting list I can loop through and backup each database directory

.
I know its easy for the gurus, but I can login to mysql server from my script but its not listing properly to loop thru
TIA