Array attribute in chef creating Database Mysql

Hey @sandeepiii!

Take a look at this comment regarding doing a similar thing with user creation using a data bag: Using databag in recipe

In short, you'll want to use each_pair against a hash of databases + passwords.