No need to loop when we have `xargs`. The sed command filters out the first line of `show databases` output, which is always "Database".
Backs up all databases, excluding test, mysql, performance_schema, information_schema. Requires parallel to work, install parallel on Ubuntu by running: sudo aptitude install parallel
just better bash
mysql -N -e 'show databases' | while read dbname; do mysqldump --complete-insert --routines --triggers --single-transaction "$dbname" > "$dbname".sql; done
Free Software Files Adobe Photoshop 2020 Free Download Windows 11 Download Windows 10 Download MS Office 2021 Free Download GTA 5 Free Download GTA 5 Free Download Cyberpunk 2077