Database UserName and Password script

I’m doing a new multisite multi-db 256 install. Using cPanel. I've created the database creation script using the script creator (thank you!) How do I add username and password for each database to the script? Otherwise, I have to open each database individually to add them after creation, 256 times. Ugggh!
OR, is there a better way?